[]
        
(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
object
PixelFormatInfo
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

PixelFormatInfo(IntPtr)

Initializes a new instance of the PixelFormatInfo class.

public PixelFormatInfo(IntPtr nativePtr)

Parameters

nativePtr System.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, 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 System.IntPtr

Returns

int

GetChannelMask(int)

Gets the channel mask.

public byte[] GetChannelMask(int channelIndex)

Parameters

channelIndex int

Index of the channel.

Returns

byte[]

GetColorContext()

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

public ColorContext GetColorContext()

Returns

ColorContext

GetFormatGUID()

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

public Guid GetFormatGUID()

Returns

System.Guid

Operators

explicit operator PixelFormatInfo(IntPtr)

Performs an explicit conversion from System.IntPtr to PixelFormatInfo.

public static explicit operator PixelFormatInfo(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

PixelFormatInfo