IIXC_Page::Fill Method
From PDF XChange PDF SDK
Line 3: | Line 3: | ||
{{#parentPage:PXV:IIXC_Page|Fill Method|method}} | {{#parentPage:PXV:IIXC_Page|Fill Method|method}} | ||
− | |||
− | 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 | + | : 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 12:22, 17 May 2015
The Fill method fills a rectangle by using a solid brush and a specified color.
Contents
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.