Image.Image

Image(string)

Initializes a new instance of the Image class.

public Image(string path)
ParameterTypeDescription
pathStringA string that contains the path to the file from which to create the Image.

See Also


Image(string, string, string)

Initializes a new instance of the Image class.

public Image(string path, string altTitle = null, string altDescription = null)
ParameterTypeDescription
pathStringA string that contains the path to the file from which to create the Image.
altTitleStringThe alternative title.
altDescriptionStringThe alternative description.

See Also


Image(string, Stream)

Initializes a new instance of the Image class.

public Image(string fileName, Stream imageStream)
ParameterTypeDescription
fileNameStringA name of the image.
imageStreamStreamA stream which contains the image.

See Also


Image()

Initializes a new instance of the Image class.

public Image()

See Also