DynaPDF Manual - Page 748

Previous Page 747   Index   Next Page 749

Function Reference
Page 748 of 777
Skewing:
SortFieldsByIndex
Syntax:
LBOOL pdfSortFieldsByIndex(
const PPDF* IPDF) // Instance pointer
The function sorts the interactive form fields of a page by comparing the internal indices which can
be set for each field separately (see SetFieldIndex() for further information). The field's index
represents the tab order of a field.
If the field indices were not changed beforehand, sorting makes no sense.
To sort the fields of a page, open the page for editing beforehand with EditPage().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SortFieldsByName
Syntax:
LBOOL pdfSortFieldsByName(
const PPDF* IPDF) // Instance pointer
The function sorts the interactive form fields of a page in ascending order by field name. To sort the
fields of a page, open the page for editing beforehand with EditPage(). The order in which fields
appear in the page's field array specify the tab order of the fields.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SquareAnnot
Syntax:
SI32 pdfSquareAnnot(
const PPDF* IPDF,
// Instance pointer
double PosX,
// y-coordinate of the annotation
double PosY,
// x-coordinate of the annotation
double Width,
// Width of the annotation
double Height,
// Height of the annotation
double LineWidth,
// Line width of the circle or ellipse
 

Previous topic: SkewCoords

Next topic: StampAnnot