[]
        
(Showing Draft Content)

C1.Win.Bitmap.C1Bitmap.Load

Load Method

Load(Stream, params BaseTransform[])

Loads the image from a System.IO.Stream.

Declaration
public void Load(Stream stream, params BaseTransform[] transforms)
Parameters
Type Name Description
Stream stream

The input stream.

BaseTransform[] transforms

The transformation chain for the image that is being loaded.

Load(Stream, ContainerFormat, ImageRect?, params BaseTransform[])

Loads the image from a System.IO.Stream.

Declaration
public void Load(Stream stream, ContainerFormat containerFormat, ImageRect? imageRect, params BaseTransform[] transforms)
Parameters
Type Name Description
Stream stream

The input stream.

ContainerFormat containerFormat

The image container format; use Unknown to detect the format automatically.

ImageRect? imageRect

Clipping rectangle for the image after all transformations.

BaseTransform[] transforms

The transformation chain for the image that is being loaded.

Load(string, params BaseTransform[])

Loads the image from a file.

Declaration
public void Load(string fileName, params BaseTransform[] transforms)
Parameters
Type Name Description
string fileName

The input file name.

BaseTransform[] transforms

The transformation chain for the image that is being loaded.

Load(string, ContainerFormat, ImageRect?, params BaseTransform[])

Loads the image from a file.

Declaration
public void Load(string fileName, ContainerFormat containerFormat, ImageRect? imageRect, params BaseTransform[] transforms)
Parameters
Type Name Description
string fileName

The input file name.

ContainerFormat containerFormat

The image container format; use Unknown to detect the format automatically.

ImageRect? imageRect

Clipping rectangle for the image after all transformations.

BaseTransform[] transforms

The transformation chain for the image that is being loaded.