IIXC_Page::SetChannelPixel Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetChannelPixel([in]  IXC_Channel  nChannel,
+
<pre class="brush:cpp;gutter:false">HRESULT SetChannelPixel([in]  IXC_Channel  Channel,
 
                         [in]  LONG        nX,
 
                         [in]  LONG        nX,
 
                         [in]  LONG        nY,
 
                         [in]  LONG        nY,
                         [in]  UCHAR        nValue);</pre>
+
                         [in]  UCHAR        Value);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nChannel
+
;Channel
 
:[in]  Specifies [[PXV:IXC_Channel|Color Channel]] to which information will be set.
 
:[in]  Specifies [[PXV:IXC_Channel|Color Channel]] to which information will be set.
 
;nX
 
;nX
Line 19: Line 19:
 
;nY
 
;nY
 
:[in]  Specifies the y-coordinate of the pixel to be set.
 
:[in]  Specifies the y-coordinate of the pixel to be set.
;nValue
+
;Value
 
:[in]  The value to set the color channel at specified pixel.
 
:[in]  The value to set the color channel at specified pixel.
  

Revision as of 06:51, 12 June 2015

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

Syntax

HRESULT SetChannelPixel([in]  IXC_Channel  Channel,
                        [in]  LONG         nX,
                        [in]  LONG         nY,
                        [in]  UCHAR        Value);

Parameters

Channel
[in] Specifies Color Channel to which information will be set.
nX
[in] Specifies the x-coordinate of the pixel to be set.
nY
[in] Specifies the y-coordinate of the pixel to be set.
Value
[in] The value to set the color channel at specified pixel.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IIXC_Page