IIXC_Page::FillChannel Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::FillChannel Method}}
 
{{#customTitle:IIXC_Page::FillChannel Method}}
{{#parentPage:PXV:IIXC_Page|FillChannel Method|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|FillChannel|method}}
 
+
  
 
'''FillChannel''' fills a specified rectangle of the page with a specified color value into one specified color channel.
 
'''FillChannel''' fills a specified rectangle of the page with a specified color value into one specified color channel.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FillChannel([in]  IXC_Channel  dstChannel,
+
<pre class="brush:cpp;gutter:false">HRESULT FillChannel([in]  IXC_Channel  nDstChannel,
 
                     [in]  UCHAR        nValue,
 
                     [in]  UCHAR        nValue,
                     [in]  RECT*        pRect);</pre>
+
                     [in]  RECT*        stRect);</pre>
  
 
== Parameters ==
 
== Parameters ==
;dstChannel
+
;nDstChannel
 
:[in]  Specifies color [[PXV:IXC_Channel|channel]] which will be used.
 
:[in]  Specifies color [[PXV:IXC_Channel|channel]] which will be used.
 
;nValue
 
;nValue
 
:[in]  Specifies the value which will be filled with. Possible value is from 0 to 255.
 
:[in]  Specifies the value which will be filled with. Possible value is from 0 to 255.
;pRect
+
;stRect
 
:[in]  Pointer to RECT structure which defines the area to be filled.
 
:[in]  Pointer to RECT structure which defines the area to be filled.
  
Line 23: Line 23:
  
 
== See Also ==
 
== See Also ==
:[[PXV:IIXC_Page|IIXC_Page]]
+
[[PXV:IIXC_Page|IIXC_Page]]
:[[PXV:IIXC_Page_CopyChannel|IIXC_Page::CopyChannel]]
+
:[[PXV:IIXC_Page_GetChannelPixel|IIXC_Page::GetChannelPixel]]
+
:[[PXV:IIXC_Page_InvertChannel|IIXC_Page::InvertChannel]]
+
:[[PXV:IIXC_Page_SetChannelPixel|IIXC_Page::SetChannelPixel]]
+
:[[PXV:IXC_Channel|IXC_Channel]]
+

Latest revision as of 03:16, 15 June 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  nDstChannel,
                    [in]  UCHAR        nValue,
                    [in]  RECT*        stRect);

Parameters

nDstChannel
[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.
stRect
[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