[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.WIC.BitmapCodecInfo

Class BitmapCodecInfo

Namespace
GrapeCity.Documents.DX.WIC
Assembly
GcDocs.DX.Windows.dll

IWICBitmapCodecInfo

[Guid("E87A44C4-B76E-4c47-8B09-298EB12A2714")]
public class BitmapCodecInfo : ComponentInfo, IDisposable, IUnknown
Inheritance
object
BitmapCodecInfo
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

BitmapCodecInfo(IntPtr)

Initializes a new instance of the BitmapCodecInfo class.

public BitmapCodecInfo(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

ColorManagementVersion

Gets the color management version number the codec supports.

public string ColorManagementVersion { get; }

Property Value

string

DeviceManufacturer

Gets the name of the device manufacture associated with the codec.

public string DeviceManufacturer { get; }

Property Value

string

DeviceModels

Gets a comma delimited list of device models associated with the codec.

public string DeviceModels { get; }

Property Value

string

FileExtensions

Gets a comma delimited list of the file name extensions associated with the codec.

public string FileExtensions { get; }

Property Value

string

MimeTypes

Gets a comma delimited sequence of mime types associated with the codec.

public string MimeTypes { get; }

Property Value

string

PixelFormats

Gets the pixel formats the codec supports.

public Guid[] PixelFormats { get; }

Property Value

System.Guid[]

Methods

GetColorManagementVersion(int, IntPtr)

HRESULT IWICBitmapCodecInfo::GetColorManagementVersion([In] unsigned int cchColorManagementVersion,[In] void* wzColorManagementVersion,[Out] unsigned int* pcchActual)

public int GetColorManagementVersion(int cchColorManagementVersion, IntPtr colorManagementVersion)

Parameters

cchColorManagementVersion int
colorManagementVersion System.IntPtr

Returns

int

GetContainerFormat()

HRESULT IWICBitmapCodecInfo::GetContainerFormat([Out] GUID* pguidContainerFormat)

public Guid GetContainerFormat()

Returns

System.Guid

GetDeviceManufacturer(int, IntPtr)

HRESULT IWICBitmapCodecInfo::GetDeviceManufacturer([In] unsigned int cchDeviceManufacturer,[In] void* wzDeviceManufacturer,[Out] unsigned int* pcchActual)

public int GetDeviceManufacturer(int cchDeviceManufacturer, IntPtr deviceManufacturer)

Parameters

cchDeviceManufacturer int
deviceManufacturer System.IntPtr

Returns

int

GetDeviceModels(int, IntPtr)

HRESULT IWICBitmapCodecInfo::GetDeviceModels([In] unsigned int cchDeviceModels,[In] void* wzDeviceModels,[Out] unsigned int* pcchActual)

public int GetDeviceModels(int cchDeviceModels, IntPtr deviceModels)

Parameters

cchDeviceModels int
deviceModels System.IntPtr

Returns

int

GetFileExtensions(int, IntPtr)

HRESULT IWICBitmapCodecInfo::GetFileExtensions([In] unsigned int cchFileExtensions,[In] void* wzFileExtensions,[Out] unsigned int* pcchActual)

public int GetFileExtensions(int cchFileExtensions, IntPtr fileExtensions)

Parameters

cchFileExtensions int
fileExtensions System.IntPtr

Returns

int

GetMimeTypes(int, IntPtr)

HRESULT IWICBitmapCodecInfo::GetMimeTypes([In] unsigned int cchMimeTypes,[In] void* wzMimeTypes,[Out] unsigned int* pcchActual)

public int GetMimeTypes(int cchMimeTypes, IntPtr mimeTypes)

Parameters

cchMimeTypes int
mimeTypes System.IntPtr

Returns

int

GetPixelFormats(int, Guid[])

HRESULT IWICBitmapCodecInfo::GetPixelFormats([In] unsigned int cFormats,[In, Buffer] GUID* pguidPixelFormats,[Out] unsigned int* pcActual)

public int GetPixelFormats(int formats, Guid[] guidPixelFormatsRef)

Parameters

formats int
guidPixelFormatsRef System.Guid[]

Returns

int

IsAnimationSupported()

HRESULT IWICBitmapCodecInfo::DoesSupportAnimation([Out] BOOL* pfSupportAnimation)

public bool IsAnimationSupported()

Returns

bool

IsChromakeySupported()

HRESULT IWICBitmapCodecInfo::DoesSupportChromakey([Out] BOOL* pfSupportChromakey)

public bool IsChromakeySupported()

Returns

bool

IsLosslessSupported()

HRESULT IWICBitmapCodecInfo::DoesSupportLossless([Out] BOOL* pfSupportLossless)

public bool IsLosslessSupported()

Returns

bool

IsMultiframeSupported()

HRESULT IWICBitmapCodecInfo::DoesSupportMultiframe([Out] BOOL* pfSupportMultiframe)

public bool IsMultiframeSupported()

Returns

bool

MatchesMimeType(string)

HRESULT IWICBitmapCodecInfo::MatchesMimeType([In] const wchar_t* wzMimeType,[Out] BOOL* pfMatches)

public bool MatchesMimeType(string mimeType)

Parameters

mimeType string

Returns

bool

Operators

explicit operator BitmapCodecInfo(IntPtr)

Performs an explicit conversion from System.IntPtr to BitmapCodecInfo.

public static explicit operator BitmapCodecInfo(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

BitmapCodecInfo