PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllFills a path with color usingĀ a non-zero winding number rule.
|
| HRESULT PDFPAGE_Fill () |
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.
Remarks
The method is used to fill a path inside with the current fill color. This method uses the non-zero winding number rule for defining the inside path.
The fill color may be set using methods PDFPAGE_SetColorFill, PDFPAGE_SetCMYKColorFill, PDFPAGE_SetGrayFill, PDFPAGE_SetRGBColorFill.
Analogue in new interface: IPDFDocument4::Fill.
Example
Ellipse example
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_Ellipse(10, 10, 310, 210);
PDF.PDFPAGE_Fill;
PDF.EndDoc;
CurveTo example
C/C++
[copy to clipboard]
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_Ellipse(10, 10, 310, 210); PDF->PDFPAGE_Fill(); PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_Ellipse(10, 10, 310, 210); PDF.PDFPAGE_Fill(); PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_Ellipse 10, 10, 310, 210 PDF.PDFPAGE_Fill PDF.EndDoc
See Also


