IIXC_Page::GetChannelPixel Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 26: Line 26:
  
 
== See Also ==
 
== See Also ==
:[[PXV:IIXC_Page|IIXC_Page]]
+
[[PXV:IIXC_Page|IIXC_Page]]
:[[PXV:IIXC_Page_CopyChannel|IIXC_Page::CopyChannel]]
+
:[[PXV:IIXC_Page_FillChannel|IIXC_Page::FillChannel]]
+
:[[PXV:IIXC_Page_InvertChannel|IIXC_Page::InvertChannel]]
+
:[[PXV:IIXC_Page_SetChannelPixel|IIXC_Page::SetChannelPixel]]
+
:[[PXV:IXC_Channel|IXC_Channel]]
+

Revision as of 04:04, 23 May 2015

The GetChannelPixel method retrieves the pixel color channel value stored at the specified coordinates.

Syntax

HRESULT GetChannelPixel([in]           IXC_Channel  nChannel,
                        [in]           LONG         nX,
                        [in]           LONG         nY,
                        [out, retval]  UCHAR*       pValue);

Parameters

nChannel
[in] Specifies the 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.

See Also

IIXC_Page