IIXC_Page::Fill Method

From PDF XChange PDF SDK
Jump to: navigation, search

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