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


Retrieves a specific color of an interactive form field.

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


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
FieldColor Which color to query.
BackColor, BorderColor or TextColor.
Selector What to return. This can be ColorSpace or Color. For RGB colorspace also Red, Green or Blue to get component. "Color"


Returns value or error.


Retrieves a specific color of an interactive form field.
The parameter ColorSpace defines the color space in which the color was defined.

See also GetFieldColor function in DynaPDF manual.

See also

This function checks for a license.

Created 18th August 2014, last changed 17th July 2022

DynaPDF.GetFieldChoiceValue - DynaPDF.GetFieldCount

💬 Ask a question or report a problem