IIXC_Page::Fill Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#parentPage:PXV:IIXC_Page|Fill Method|method}}
 
{{#parentPage:PXV:IIXC_Page|Fill Method|method}}
  
{{ToReview}}
 
  
The 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 ==
Line 18: Line 17:
 
:[in]  Specifies the color to be used.
 
:[in]  Specifies the color to be used.
 
;nFlags
 
;nFlags
: Combination of flags which specifies how the data will be copied. The following flags can be used enumeration [[PXV:IXC_ColorFlags|IXC_ColorFlags]].
+
: Combination of flags which specifies how the data will be drawn. The [[PXV:IXC_ColorFlags|IXC_ColorFlags]] flags can be used.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 13:22, 17 May 2015


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

Syntax

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

Parameters

pRect
[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
IIXC_Page::Place
IIXC_Page::AlphaPlace
IIXC_Page::Tile
IIXC_Page::AlphaTile
IIXC_Page::Deskew
IIXC_Page::FreeRotate
IXC_ColorFlags