IIXC_Page::SetChannelPixel Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 5: Line 5:
 
{{ToReview}}
 
{{ToReview}}
  
The method of sets a value of specified color channel at the specified coordinates.
+
The method sets a value of specified color channel at the specified coordinates.
  
 
== Syntax ==
 
== Syntax ==

Revision as of 06:45, 29 April 2015


The method sets a value of specified color channel at the specified coordinates.

Syntax

HRESULT SetChannelPixel([in]  IXC_Channel  nChannel,
                        [in]  LONG         nX,
                        [in]  LONG         nY,
                        [in]  UCHAR        nValue);

Parameters

nChannel
[in] Specifies color channel from which information will be retrieved.
nX
[in] Specifies the x-coordinate of the pixel to be set.
nY
[in] Specifies the y-coordinate of the pixel to be set.
nValue
[in] 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
IIXC_Page::CopyChannel
IIXC_Page::FillChannel
IIXC_Page::GetChannelPixel
IIXC_Page::InvertChannel
IXC_Channel