FillAndStroke
IPDFDocument4 :: Page Operations :: Graphics

See Also
Collapse All

This method fills a path with color and strokes the path using a non-zero winding number rule.

Syntax

HRESULT FillAndStroke ()
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

This method is used to fill a path with the current fill color and then stroke the path with the current stroke color. The PDF graphics state maintains separate colors for fill and stroke operations; thus these combined operators are available. This method uses the non-zero winding number rule for defining the inside path.

The fill and stroke colors may be set using methods SetColorFill, SetColorStroke and SetColor. The current line width may be set using method SetLineWidth.

See Also

Reference