THPDFPage.Arc Method
Provides arc behavior for the page drawing workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
function Arc(X1, Y1, X2, Y2: Extended; BegAngle, EndAngle: Extended): THPDFCurrPoint;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
X1 | Input used by Arc |
Y1 | Input used by Arc |
X2 | Input used by Arc |
Y2 | Input used by Arc |
BegAngle | Input used by Arc |
EndAngle | Input used by Arc |
Return value
Returns the point where the arc starts, in the same page units as the arguments
Usage notes
- Use this API in the page drawing workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak