AlternateFillAndStroke
IPDFDocument4 :: Page Operations :: Graphics

See Also
Collapse All

This method fills a path with color and strokes the path using an even-odd rule.

Syntax

HRESULT AlternateFillAndStroke ()
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 even-odd rule for defining the inside path.

The fill and stroke colors may be set using methods SetColorFillSetColorStroke or SetColor. The current line width may be set using method SetLineWidth.

See Also

Reference