Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetFieldTextColor
The function sets the text color which is used for newly created interactive form fields.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetFieldTextColor"; PDF; Color ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Color | The color value to use. | MBS( "DynaPDF.RGB"; 0; 0; 255 ) |
Result
Returns OK or error.
Description
The function sets the text color which is used for newly created interactive form fields.The color value must be defined in the current color space. The color space must not be changed before the fields are created which should use this color.
With RGB colorspace, you would pass 65536*blue+256*green+red as number.
You can use DynaPDF.RGB function to calculate RGB color value.
See also SetFieldTextColor function in DynaPDF manual.
See also
- DynaPDF.GetFieldBackColor
- DynaPDF.GetFieldBorderColor
- DynaPDF.GetFieldColor
- DynaPDF.GetFieldTextAlign
- DynaPDF.GetFieldTextColor
- DynaPDF.New
- DynaPDF.SetFieldBackColor
- DynaPDF.SetFieldBorderColor
- DynaPDF.SetFieldExpValue
- DynaPDF.SetFieldTextAlign
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014