[]
        
(Showing Draft Content)

C1.Util.DX.WIC.PixelFormatInfo.GetChannelMask

GetChannelMask Method

GetChannelMask(int)

Gets the channel mask.

Declaration
public byte[] GetChannelMask(int channelIndex)
Public Function GetChannelMask(channelIndex As Integer) As Byte()
Parameters
Type Name Description
int channelIndex

Index of the channel.

Returns
Type Description
byte[]

GetChannelMask(int, int, IntPtr)

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

Declaration
public int GetChannelMask(int channelIndex, int maskBuffer, IntPtr maskBufferRef)
Public Function GetChannelMask(channelIndex As Integer, maskBuffer As Integer, maskBufferRef As IntPtr) As Integer
Parameters
Type Name Description
int channelIndex
int maskBuffer
IntPtr maskBufferRef
Returns
Type Description
int