Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

DynaPDF.GetField

Returns the most important properties of a field.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes
MBS( "DynaPDF.GetField"; PDF; Field; Selector )   More

(old name: DynaPDF.GetFieldEx)

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
Selector What value to query. Can be Deleted, BBox, FieldType, GroupType, Handle, BackColor, BackColorSP, BorderColor, BorderColorSP, BorderStyle, BorderWidth, CharSpacing, Checked, CheckBoxChar, DefState, DefValue, EditFont, ExpValueCount, BorderColor, FieldFlags, FieldFont, FontSize, FieldName, HighlightMode, IsCalcField, MapName, MaxLen, KidCount, PageNum, Rotate, TextAlign, TextColor, TextColorSP, TextScaling, ToolTip, UniqueName, Value, WordSpacing, Parent or Kids. "Name"

Result

Returns field handle or error.

Description

Returns the most important properties of a field.
Field handles are simple array indexes into the field array of the global AcroForm object. To enumerate all fields of a document execute the function in a loop from 0 though DynaPDF.GetFieldCount-1.
See GetFieldEx function in DynaPDF help file for details.

See also GetFieldEx function in DynaPDF manual.

Examples

Query bounding box of field:

MBS( "DynaPDF.GetField"; $pdf; "FirstName"; "BBox" )

See also

Example Databases

Created 18th August 2014, last changed 7th September 2017


DynaPDF.GetFTextHeightEx   -   DynaPDF.GetFieldBackColor

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins