ReportColor Constructors

Definition

初始化 ReportColor 类的新实例。Initializes a new instance of the ReportColor class.

Overloads

ReportColor(Color)

使用指定颜色初始化 ReportColor 类的新实例。Initializes a new instance of the ReportColor class with a specified color.

ReportColor(String)

初始化 ReportColor 类的新实例。Initializes a new instance of the ReportColor class.

ReportColor(Color)

使用指定颜色初始化 ReportColor 类的新实例。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.

ReportColor(String)

初始化 ReportColor 类的新实例。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