Share via


ReportColor Constructor (String)

Initializes a new instance of the ReportColor class.

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

Syntax

'Declaration
Public Sub New ( _
    color As String _
)
'Usage
Dim color As String

Dim instance As New ReportColor(color)
public ReportColor(
    string color
)
public:
ReportColor(
    String^ color
)
new : 
        color:string -> ReportColor
public function ReportColor(
    color : String
)

Parameters

  • color
    Type: System.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.