NamedImage 构造函数

定义

初始化 NamedImage 类的新实例。

重载

NamedImage()

初始化 NamedImage 类的新实例。

NamedImage(String, Image)

使用命名图像的指定名称及其关联的图像初始化 NamedImage 类的新实例。

NamedImage()

初始化 NamedImage 类的新实例。

public:
 NamedImage();
public NamedImage ();
Public Sub New ()

适用于

NamedImage(String, Image)

使用命名图像的指定名称及其关联的图像初始化 NamedImage 类的新实例。

public:
 NamedImage(System::String ^ name, System::Drawing::Image ^ image);
public NamedImage (string name, System.Drawing.Image image);
new System.Windows.Forms.DataVisualization.Charting.NamedImage : string * System.Drawing.Image -> System.Windows.Forms.DataVisualization.Charting.NamedImage
Public Sub New (name As String, image As Image)

参数

name
String

命名图像的名称。 将命名图像设置为图像属性之一时使用此名称。

image
Image

命名的图像的关联图像。

适用于