IIXC_Page::SetChannelPixel Method
From PDF XChange PDF SDK
(→See Also) |
|||
Line 2: | Line 2: | ||
{{#customTitle:IIXC_Page::SetChannelPixel Method}} | {{#customTitle:IIXC_Page::SetChannelPixel Method}} | ||
{{#parentPage:PXV:IIXC_Page|SetChannelPixel Method|method}} | {{#parentPage:PXV:IIXC_Page|SetChannelPixel Method|method}} | ||
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | The method of | + | The method of sets a value of specified color channel at the specified coordinates. |
== Syntax == | == Syntax == | ||
Line 15: | Line 15: | ||
== Parameters == | == Parameters == | ||
;nChannel | ;nChannel | ||
− | :[in] | + | :[in] Specifies color [[PXV:IXC_Channel|channel]] from which information will be retrieved. |
;nX | ;nX | ||
− | :[in] | + | :[in] Specifies the x-coordinate of the pixel to be set. |
;nY | ;nY | ||
− | :[in] | + | :[in] Specifies the y-coordinate of the pixel to be set. |
;nValue | ;nValue | ||
− | :[in] | + | :[in] the value of color channel at specified pixel. |
== Return Value == | == Return Value == |
Revision as of 05:00, 29 April 2015
The method of sets a value of specified color channel at the specified coordinates.
Contents
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.