Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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


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


Returns OK or error.


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

This function checks for a license.

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

DynaPDF.SetFieldBorderStyle - DynaPDF.SetFieldColor