Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetFieldIndex
Sets the tab order of interactive form fields.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetFieldIndex"; PDF; Field; Index ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Field | The field index or field name. | "FirstName" |
Index | The field index. |
Result
Returns OK or error.
Description
Sets the tab order of interactive form fields.All fields, independently whether they are created with DynaPDF or imported from external documents, holds in internal index which can be used to reorder or sort the fields with this index.
The start index of a new field is not zero, it is 1000 instead. This makes it easier to set a field in front of all other fields without changing all field indices. However, changing a field index changes not the tab order directly, the fields of a page must be sorted before the page will be closed with the function DynaPDF.SortFieldByIndex.
The tab order of interactive form fields must be set for each page separately.
See also SetFieldIndex function in DynaPDF manual.
See also
- DynaPDF.GetFieldIndex
- DynaPDF.GetGlyphIndex
- DynaPDF.New
- DynaPDF.SetFieldBBox
- DynaPDF.SetFieldColor
- DynaPDF.SetFieldDate
- DynaPDF.SetFieldFlags
- DynaPDF.SetFieldFont
- DynaPDF.SetFieldFontEx
- DynaPDF.SetFieldName
This function checks for a license.
Created 18th August 2014, last changed 17th July 2022