Share via


ReportColor Constructors

Definition

Initializes a new instance of the ReportColor class.

Overloads

ReportColor(Color)

Initializes a new instance of the ReportColor class with a specified color.

ReportColor(String)

Initializes a new instance of the ReportColor class.

ReportColor(Color)

Initializes a new instance of the ReportColor class with a specified color.

public:
 ReportColor(System::Drawing::Color color);
public ReportColor (System.Drawing.Color color);
new Microsoft.ReportingServices.ReportRendering.ReportColor : System.Drawing.Color -> Microsoft.ReportingServices.ReportRendering.ReportColor
Public Sub New (color As Color)

Parameters

color
Color

Color of the report color object.

Remarks

The constructor creates a new report color object with the given color.

Applies to

ReportColor(String)

Initializes a new instance of the ReportColor class.

public:
 ReportColor(System::String ^ color);
public ReportColor (string color);
new Microsoft.ReportingServices.ReportRendering.ReportColor : string -> Microsoft.ReportingServices.ReportRendering.ReportColor
Public Sub New (color As String)

Parameters

color
String

The color represented as a string. For example, "red".

Remarks

The constructor creates a new report color object with the given name or color description.

Applies to