Editar

Partilhar via


NamedImage Constructors

Definition

Initializes a new instance of the NamedImage class.

Overloads

NamedImage()

Initializes a new instance of the NamedImage class.

NamedImage(String, Image)

Initializes a new instance of the NamedImage class with the specified name of the named image and its associated image.

NamedImage()

Initializes a new instance of the NamedImage class.

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

Applies to

NamedImage(String, Image)

Initializes a new instance of the NamedImage class with the specified name of the named image and its associated image.

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

Parameters

name
String

The name of the named image. Use this name when setting a named image to one of the image properties.

image
Image

The associated image.

Applies to