IIXC_Page::FillChannel 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 FillChannel([in]  IXC_Channel  nDstChannel,
+
<pre class="brush:cpp;gutter:false">HRESULT FillChannel([in]  IXC_Channel  dstChannel,
                     [in]  UCHAR        nValue,
+
                     [in]  UCHAR        Value,
                     [in]  RECT*        stRect);</pre>
+
                     [in]  RECT*        Rect);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nDstChannel
+
;dstChannel
 
:[in]  Specifies color [[PXV:IXC_Channel|channel]] which will be used.
 
:[in]  Specifies color [[PXV:IXC_Channel|channel]] which will be used.
;nValue
+
;Value
 
:[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.
;stRect
+
;Rect
 
:[in]  Pointer to RECT structure which defines the area to be filled.
 
:[in]  Pointer to RECT structure which defines the area to be filled.
  

Revision as of 06:50, 12 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  dstChannel,
                    [in]  UCHAR        Value,
                    [in]  RECT*        Rect);

Parameters

dstChannel
[in] Specifies color channel which will be used.
Value
[in] Specifies the value which will be filled with. Possible value is from 0 to 255.
Rect
[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