From Tracker Software PDF SDK
Revision as of 08:26, 18 May 2015 by Craig
The GetChannelPixel method retrieves the pixel color channel value stored at the specified coordinates.
HRESULT GetChannelPixel([in] IXC_Channel nChannel, [in] LONG nX, [in] LONG nY, [out, retval] UCHAR* pValue);
- [in] Specifies the 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.