[]
        
(Showing Draft Content)

C1.WPF.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)
Public Sub Load(stream As Stream, ParamArray transforms As BaseTransform())
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)
Public Sub Load(stream As Stream, containerFormat As ContainerFormat, imageRect As ImageRect?, ParamArray transforms As BaseTransform())
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)
Public Sub Load(fileName As String, ParamArray transforms As BaseTransform())
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)
Public Sub Load(fileName As String, containerFormat As ContainerFormat, imageRect As ImageRect?, ParamArray transforms As BaseTransform())
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.