CreateImageWrapper

IImageWrapperFactory.CreateImageWrapper method (1 of 3)

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

public IImageWrapper CreateImageWrapper(Image image)
Parameter Type Description
image Image Existing Image Image

Return Value

New instance of a IImageWrapper

See Also


IImageWrapperFactory.CreateImageWrapper method (2 of 3)

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

public IImageWrapper CreateImageWrapper(Stream stream)
Parameter Type Description
stream Stream Data stream Stream

Return Value

New instance of a IImageWrapper

See Also


IImageWrapperFactory.CreateImageWrapper method (3 of 3)

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

public IImageWrapper CreateImageWrapper(string fileName)
Parameter Type Description
fileName String File name String

Return Value

New instance of a IImageWrapper

See Also