IIXC_Page::GetChannelPixel Method
From PDF XChange PDF SDK
Line 5: | Line 5: | ||
{{ToReview}} | {{ToReview}} | ||
− | The method | + | The method retrieves a value stored into specified color channel at the specified coordinates. |
== Syntax == | == Syntax == |
Revision as of 05:45, 29 April 2015
The method retrieves a value stored into specified color channel at the specified coordinates.
Contents
Syntax
HRESULT GetChannelPixel([in] IXC_Channel nChannel, [in] LONG nX, [in] LONG nY, [out, retval] UCHAR* pValue);
Parameters
- nChannel
- [in] Specifies color channel from which information will be retrieved.
- nX
- [in] Specifies the x-coordinate of the pixel to be examined.
- nY
- [in] Specifies the y-coordinate of the pixel to be examined.
- pValue
- [out, retval] Pointer to UCHAR value that receives the value of color channel at specified pixel.
Return Value
Returns S_OK if operation was successful or error code in other cases.