From Tracker Software PDF SDK
Revision as of 04:47, 29 April 2015 by Oliynykd
The method of retrieves a value stored into specified color channel at the specified coordinates.
HRESULT GetChannelPixel([in] IXC_Channel nChannel, [in] LONG nX, [in] LONG nY, [out, retval] UCHAR* pValue);
- [in] Specifies color channel from which information will be retrieved.
- [in] Specifies the x-coordinate of the pixel to be examined.
- [in] Specifies the y-coordinate of the pixel to be examined.
- [out, retval] Pointer to UCHAR value that receives the value of color channel at specified pixel.
Returns S_OK if operation was successful or error code in other cases.