[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.WIC.PixelFormatInfo

Class PixelFormatInfo

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

IWICPixelFormatInfo

[Guid("E8EDA601-3D48-431a-AB44-69059BE88BBE")]
public class PixelFormatInfo : ComponentInfo, IDisposable, IUnknown
Inheritance
PixelFormatInfo
Implements
Derived
Inherited Members

Constructors

PixelFormatInfo(IntPtr)

Initializes a new instance of the PixelFormatInfo class.

public PixelFormatInfo(IntPtr nativePtr)

Parameters

nativePtr IntPtr

The native pointer.

Methods

GetBitsPerPixel()

HRESULT IWICPixelFormatInfo::GetBitsPerPixel([Out] unsigned int* puiBitsPerPixel)

public int GetBitsPerPixel()

Returns

int

GetChannelCount()

HRESULT IWICPixelFormatInfo::GetChannelCount([Out] unsigned int* puiChannelCount)

public int GetChannelCount()

Returns

int

GetChannelMask(int)

Gets the channel mask.

public byte[] GetChannelMask(int channelIndex)

Parameters

channelIndex int

Index of the channel.

Returns

byte[]

GetChannelMask(int, int, IntPtr)

HRESULT IWICPixelFormatInfo::GetChannelMask([In] unsigned int uiChannelIndex,[In] unsigned int cbMaskBuffer,[In] void* pbMaskBuffer,[Out] unsigned int* pcbActual)

public int GetChannelMask(int channelIndex, int maskBuffer, IntPtr maskBufferRef)

Parameters

channelIndex int
maskBuffer int
maskBufferRef IntPtr

Returns

int

GetColorContext()

HRESULT IWICPixelFormatInfo::GetColorContext([Out] IWICColorContext** ppIColorContext)

public ColorContext GetColorContext()

Returns

ColorContext

GetFormatGUID()

HRESULT IWICPixelFormatInfo::GetFormatGUID([Out] GUID* pFormat)

public Guid GetFormatGUID()

Returns

Guid

Operators

explicit operator PixelFormatInfo(IntPtr)

Performs an explicit conversion from IntPtr to PixelFormatInfo.

public static explicit operator PixelFormatInfo(IntPtr nativePointer)

Parameters

nativePointer IntPtr

Returns

PixelFormatInfo