Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

DynaPDF.SetFieldBorderWidth

Changes the border width of a field.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetFieldBorderWidth"; PDF; Field; LineWidth )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
LineWidth Line width of the border. 4

Result

Returns OK or error.

Description

Changes the border width of a field.
The parameter LineWidth must not be negative and it should either be 0, 1, 2, or 3 units (no border, thin, medium, or thick). Note that Adobe's Acrobat supports only these values. It is possible to draw a field with any border width, but if the field is repainted due to a reset action or due to other changes, the field appearance will be changed in Adobe's Acrobat and the border width is adjusted to the nearest supported value.

See also SetFieldBorderWidth function in DynaPDF manual.

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 18th August 2014


DynaPDF.SetFieldBorderStyle - DynaPDF.SetFieldColor

Feedback: Report problem or ask question.