From Tracker Software PDF SDK
Revision as of 03:17, 15 June 2015 by Dsbot (Automatic page editing by robot)
The SetChannelPixel method sets a value of specified color channel at the specified coordinates.
HRESULT SetChannelPixel([in] IXC_Channel nChannel, [in] LONG nX, [in] LONG nY, [in] UCHAR nValue);
- [in] Specifies Color Channel to which information will be set.
- [in] Specifies the x-coordinate of the pixel to be set.
- [in] Specifies the y-coordinate of the pixel to be set.
- [in] The value to set the color channel at specified pixel.
Returns S_OK if operation was successful or error code in other cases.