IIXC_Page::Fill 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 Fill([in]  RECT*  stRect,
+
<pre class="brush:cpp;gutter:false">HRESULT Fill([in]  RECT*  Rect,
             [in]  ULONG  nColor,
+
             [in]  ULONG  Color,
                   ULONG  nFlags);</pre>
+
                   ULONG  Flags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;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.
;nColor
+
;Color
 
:[in]  Specifies the color to be used.
 
:[in]  Specifies the color to be used.
;nFlags
+
;Flags
 
: Combination of flags which specifies how the data will be drawn. The [[PXV:IXC_ColorFlags|IXC_ColorFlags]] flags can be used.
 
: Combination of flags which specifies how the data will be drawn. The [[PXV:IXC_ColorFlags|IXC_ColorFlags]] flags can be used.
  

Revision as of 06:50, 12 June 2015

The Fill method fills a rectangle by using a solid brush and a specified color.

Syntax

HRESULT Fill([in]  RECT*  Rect,
             [in]  ULONG  Color,
                   ULONG  Flags);

Parameters

Rect
[in] Pointer to RECT structure which defines the area to be filled.
Color
[in] Specifies the color to be used.
Flags
Combination of flags which specifies how the data will be drawn. The IXC_ColorFlags flags can be used.

Return Value

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

See Also

IIXC_Page