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

DynaPDF.GetFieldColor

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

Parameters

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.
"TextColor"
Selector What to return. This can be ColorSpace or Color. For RGB colorspace also Red, Green or Blue to get component. "Color"

Result

Returns value or error.

Description

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