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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.SetFieldBackColor
The function sets the background color used for newly created interactive form fields and annotations. Normal annotations support RGB colors only. Form fields support the color spaces DeviceRGB, DeviceGray, and DeviceCMYK. The color value must be defined in the current color space.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 4.0 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| Color | The new color value. | MBS( "DynaPDF.RGB"; 0; 0; 255 ) |
Result
Returns OK or error.
Description
The function sets the background color used for newly created interactive form fields and annotations. Normal annotations support RGB colors only. Form fields support the color spaces DeviceRGB, DeviceGray, and DeviceCMYK. The color value must be defined in the current color space.If the background should appear transparent set the color to NO_COLOR (4294967281).
Default value = NO_COLOR.
For RGB you can calculate color as Blue*65536+Green*256+Red with color channels in range 0 to 255.
You can use DynaPDF.RGB function to calculate RGB color value.
See also SetFieldBackColor function in DynaPDF manual.
See also
- DynaPDF.CreateButton
- DynaPDF.GetFieldBackColor
- DynaPDF.GetFieldBorderColor
- DynaPDF.GetFieldColor
- DynaPDF.GetFieldTextColor
- DynaPDF.New
- DynaPDF.RGB
- DynaPDF.SetFieldBorderColor
- DynaPDF.SetFieldColor
- DynaPDF.SetFieldTextColor
Example Databases
Blog Entries
Created 18th August 2014, last changed 18th August 2014
DynaPDF.SetFieldBBox - DynaPDF.SetFieldBorderColor
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins