IIXC_Page::FillChannel Method

From Tracker Software PDF SDK
Jump to: navigation, search
(See Also)
Line 2: Line 2:
 
{{#customTitle:IIXC_Page::FillChannel Method}}
 
{{#customTitle:IIXC_Page::FillChannel Method}}
 
{{#parentPage:PXV:IIXC_Page|FillChannel Method|method}}
 
{{#parentPage:PXV:IIXC_Page|FillChannel Method|method}}
{{ToWrite}}
+
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
'''FillChannel''' fills a specified rectangle of the page with a specified color value into one specified color channel.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;dstChannel
 
;dstChannel
:[in]  Value of [[PXV:IXC_Channel|IXC_Channel]].
+
:[in]  Specifies color [[PXV:IXC_Channel|channel]] which will be used.
 
;nValue
 
;nValue
:[in]  Value of UCHAR.
+
:[in]  Specifies the value which will be filled with. Possible value is from 0 to 255.
 
;pRect
 
;pRect
:[in]  Pointer to RECT.
+
:[in]  Pointer to RECT structure which defines the area to be filled.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 04:43, 29 April 2015


FillChannel fills a specified rectangle of the page with a specified color value into one specified color channel.

Syntax

HRESULT FillChannel([in]  IXC_Channel  dstChannel,
                    [in]  UCHAR        nValue,
                    [in]  RECT*        pRect);

Parameters

dstChannel
[in] Specifies color channel which will be used.
nValue
[in] Specifies the value which will be filled with. Possible value is from 0 to 255.
pRect
[in] Pointer to RECT structure which defines the area to be filled.

Return Value

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

See Also

IIXC_Page
IIXC_Page::CopyChannel
IIXC_Page::GetChannelPixel
IIXC_Page::InvertChannel
IIXC_Page::SetChannelPixel
IXC_Channel