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.

C#
public NamedImage();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

NamedImage(String, Image)

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

C#
public NamedImage(string name, System.Drawing.Image 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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1