DynaPDF Manual - Page 320

Previous Page 319   Index   Next Page 321

Function Reference
Page 320 of 818
DeleteXFAForm
Syntax:
void pdfDeleteXFAForm(
const PPDF* IPDF) // Instance pointer
The function deletes a maybe existing XFA form (XML based form) if any. This can be useful if the
PDF file contains a hybrid form because DynaPDF does not allow editing form fields as long as an
XFA form is present.
DrawArc
Syntax:
SI32 pdfDrawArc(
const PPDF* IPDF,
// Instance pointer
double PosX,
// X-Coordinate of the midpoint of the arc
double PosY,
// Y-Coordinate of the midpoint of the arc
double Radius,
// Radius
double StartAngle, // Start angle
double EndAngle)
// End angle
This function draws an arc by using a start and end angle. A full circle is drawn if the start and end
angles coincide. The path is not closed, stroked or filled so that it will be invisible as long it is not
stroked, filled or both (see ClosePath() or StokePath() for further information).
The current point is connected with the start point and then updated to the end point of the arc (see
example below).
The draw direction can be changed with the function SetDrawDirection(). The start and end angles
are always measured counter clockwise independent of the drawing direction.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: DeleteSeparationInfo, DeleteTemplate, DeleteTemplateEx

Next topic: DrawArcEx, DrawChord


Start Chat