IIXC_Page::SetChannelPixel Method

From PDF XChange PDF SDK
Jump to: navigation, search
(See Also)
m (Automatic page editing by robot)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::SetChannelPixel Method}}
 
{{#customTitle:IIXC_Page::SetChannelPixel Method}}
{{#parentPage:PXV:IIXC_Page|SetChannelPixel Method|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|SetChannelPixel|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
The '''SetChannelPixel''' method sets a value of specified color channel at the specified coordinates.
  
 
== Syntax ==
 
== Syntax ==
Line 15: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;nChannel
 
;nChannel
:[in]  Value of [[PXV:IXC_Channel|IXC_Channel]].
+
:[in]  Specifies [[PXV:IXC_Channel|Color Channel]] to which information will be set.
 
;nX
 
;nX
:[in]  Value of LONG.
+
:[in]  Specifies the x-coordinate of the pixel to be set.
 
;nY
 
;nY
:[in]  Value of LONG.
+
:[in]  Specifies the y-coordinate of the pixel to be set.
 
;nValue
 
;nValue
:[in]  Value of UCHAR.
+
:[in]  The value to set the color channel at specified pixel.
  
 
== Return Value ==
 
== Return Value ==
Line 27: 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_GetChannelPixel|IIXC_Page::GetChannelPixel]]
+
:[[PXV:IIXC_Page_InvertChannel|IIXC_Page::InvertChannel]]
+
:[[PXV:IXC_Channel|IXC_Channel]]
+

Latest revision as of 03:17, 15 June 2015

The SetChannelPixel 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 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.
nValue
[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