ReportColor Class

Represents a color in a report. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.ReportRendering.ReportColor

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class ReportColor
'Usage
Dim instance As ReportColor
public sealed class ReportColor
public ref class ReportColor sealed
[<SealedAttribute>]
type ReportColor =  class end
public final class ReportColor

The ReportColor type exposes the following members.

Constructors

  Name Description
Public method ReportColor(Color) Initializes a new instance of the ReportColor class with a specified color.
Public method ReportColor(String) Initializes a new instance of the ReportColor class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToColor The color as a GDI+ color class.
Public method ToString The color as a string, as expressed in the report definition. (Overrides Object.ToString().)

Top

Remarks

Using this class, you can convert the color into several formats.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.