IIXC_Page::SetChannelPixel Method
From PDF XChange PDF SDK
The SetChannelPixel method sets a value of specified color channel at the specified coordinates.
Contents
Syntax
HRESULT SetChannelPixel([in] IXC_Channel nChannel, [in] LONG nX, [in] LONG nY, [in] UCHAR nValue);
Parameters
- nChannel
- [in] Specifies Color Channel to which information will be set.
- nX
- [in] Specifies the x-coordinate of the pixel to be set.
- nY
- [in] Specifies the y-coordinate of the pixel to be set.
- nValue
- [in] The value to set the color channel at specified pixel.
Return Value
Returns S_OK if operation was successful or error code in other cases.