CreateImageWrapper

CreateImageWrapper(Image)

Initializes a new instance of the BitmapWrapper class from the specified existing image.

public IImageWrapper CreateImageWrapper(Image image)
ParameterTypeDescription
imageImageExisting Image Image

Return Value

New instance of a IImageWrapper

See Also


CreateImageWrapper(Stream)

Initializes a new instance of the BitmapWrapper class from the specified data stream.

public IImageWrapper CreateImageWrapper(Stream stream)
ParameterTypeDescription
streamStreamData stream Stream

Return Value

New instance of a IImageWrapper

See Also


CreateImageWrapper(string)

Initializes a new instance of the BitmapWrapper class from the specified file.

public IImageWrapper CreateImageWrapper(string fileName)
ParameterTypeDescription
fileNameStringFile name String

Return Value

New instance of a IImageWrapper

See Also