[]
        
(Showing Draft Content)

C1.Util.DX.WIC.BitmapDecoder.Create

Create Method

Create(BitmapDecoderInfo)

Initializes a new instance of the BitmapDecoder class from a BitmapDecoderInfo.

Declaration
public static BitmapDecoder Create(BitmapDecoderInfo bitmapDecoderInfo)
Public Shared Function Create(bitmapDecoderInfo As BitmapDecoderInfo) As BitmapDecoder
Parameters
Type Name Description
BitmapDecoderInfo bitmapDecoderInfo

The bitmap decoder info.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, Guid)

Initializes a new instance of the BitmapDecoder class from a guid. BitmapDecoderGuids for a list of default supported decoder.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, Guid containerFormatGuid)
Public Shared Function Create(factory As ImagingFactory, containerFormatGuid As Guid) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

Guid containerFormatGuid

The container format GUID.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, Guid, Guid)

Initializes a new instance of the BitmapDecoder class.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, Guid containerFormatGuid, Guid guidVendorRef)
Public Shared Function Create(factory As ImagingFactory, containerFormatGuid As Guid, guidVendorRef As Guid) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

Guid containerFormatGuid

The container format GUID.

Guid guidVendorRef

The GUID vendor ref.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, IStream, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a IStream.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, IStream streamRef, DecodeOptions metadataOptions)
Public Shared Function Create(factory As ImagingFactory, streamRef As IStream, metadataOptions As DecodeOptions) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

IStream streamRef

The stream ref.

DecodeOptions metadataOptions

The metadata options.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, Stream, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a IStream.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, Stream streamRef, DecodeOptions metadataOptions)
Public Shared Function Create(factory As ImagingFactory, streamRef As Stream, metadataOptions As DecodeOptions) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

Stream streamRef

The stream ref.

DecodeOptions metadataOptions

The metadata options.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, IStream, Guid, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a IStream.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, IStream streamRef, Guid guidVendorRef, DecodeOptions metadataOptions)
Public Shared Function Create(factory As ImagingFactory, streamRef As IStream, guidVendorRef As Guid, metadataOptions As DecodeOptions) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

IStream streamRef

The stream ref.

Guid guidVendorRef

The GUID vendor ref.

DecodeOptions metadataOptions

The metadata options.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, Stream, Guid, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a IStream.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, Stream streamRef, Guid guidVendorRef, DecodeOptions metadataOptions)
Public Shared Function Create(factory As ImagingFactory, streamRef As Stream, guidVendorRef As Guid, metadataOptions As DecodeOptions) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

Stream streamRef

The stream ref.

Guid guidVendorRef

The GUID vendor ref.

DecodeOptions metadataOptions

The metadata options.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, string, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a file in read mode.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, string filename, DecodeOptions metadataOptions)
Public Shared Function Create(factory As ImagingFactory, filename As String, metadataOptions As DecodeOptions) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

string filename

The filename.

DecodeOptions metadataOptions

The metadata options.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, string, NativeFileAccess, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a file.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, string filename, NativeFileAccess desiredAccess, DecodeOptions metadataOptions)
Public Shared Function Create(factory As ImagingFactory, filename As String, desiredAccess As NativeFileAccess, metadataOptions As DecodeOptions) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

string filename

The filename.

NativeFileAccess desiredAccess

The desired access.

DecodeOptions metadataOptions

The metadata options.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, string, Guid?, NativeFileAccess, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a file.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, string filename, Guid? guidVendorRef, NativeFileAccess desiredAccess, DecodeOptions metadataOptions)
Public Shared Function Create(factory As ImagingFactory, filename As String, guidVendorRef As Guid?, desiredAccess As NativeFileAccess, metadataOptions As DecodeOptions) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

string filename

The filename.

Guid? guidVendorRef

The GUID vendor ref.

NativeFileAccess desiredAccess

The desired access.

DecodeOptions metadataOptions

The metadata options.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, FileStream, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a filestream.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, FileStream fileStream, DecodeOptions metadataOptions)
Public Shared Function Create(factory As ImagingFactory, fileStream As FileStream, metadataOptions As DecodeOptions) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

FileStream fileStream

The filename.

DecodeOptions metadataOptions

The metadata options.

Returns
Type Description
BitmapDecoder

Create(ImagingFactory, FileStream, Guid, DecodeOptions)

Initializes a new instance of the BitmapDecoder class from a filestream.

Declaration
public static BitmapDecoder Create(ImagingFactory factory, FileStream fileStream, Guid guidVendorRef, DecodeOptions metadataOptions)
Public Shared Function Create(factory As ImagingFactory, fileStream As FileStream, guidVendorRef As Guid, metadataOptions As DecodeOptions) As BitmapDecoder
Parameters
Type Name Description
ImagingFactory factory

The factory.

FileStream fileStream

The filename.

Guid guidVendorRef

The GUID vendor ref.

DecodeOptions metadataOptions

The metadata options.

Returns
Type Description
BitmapDecoder