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)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::Fill Method}}
 
{{#customTitle:IIXC_Page::Fill Method}}
{{#parentPage:PXV:IIXC_Page#Methods|Fill Method|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|Fill|method}}
  
 
The '''Fill''' method fills a rectangle by using a solid brush and a specified color.
 
The '''Fill''' method fills a rectangle by using a solid brush and a specified color.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Fill([in]  RECT*  pRect,
+
<pre class="brush:cpp;gutter:false">HRESULT Fill([in]  RECT*  stRect,
 
             [in]  ULONG  nColor,
 
             [in]  ULONG  nColor,
 
                   ULONG  nFlags);</pre>
 
                   ULONG  nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;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.
 
;nColor
 
;nColor
Line 23: Line 23:
  
 
== See Also ==
 
== See Also ==
:[[PXV:IIXC_Page|IIXC_Page]]
+
[[PXV:IIXC_Page|IIXC_Page]]
:[[PXV:IIXC_Page_Place|IIXC_Page::Place]]
+
:[[PXV:IIXC_Page_AlphaPlace|IIXC_Page::AlphaPlace]]
+
:[[PXV:IIXC_Page_Tile|IIXC_Page::Tile]]
+
:[[PXV:IIXC_Page_AlphaTile|IIXC_Page::AlphaTile]]
+
:[[PXV:IIXC_Page_Deskew|IIXC_Page::Deskew]]
+
:[[PXV:IIXC_Page_FreeRotate|IIXC_Page::FreeRotate]]
+
:[[PXV:IXC_ColorFlags|IXC_ColorFlags]]
+

Latest revision as of 03:16, 15 June 2015

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

Syntax

HRESULT Fill([in]  RECT*  stRect,
             [in]  ULONG  nColor,
                   ULONG  nFlags);

Parameters

stRect
[in] Pointer to RECT structure which defines the area to be filled.
nColor
[in] Specifies the color to be used.
nFlags
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