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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Sets the border color used for newly created interactive form fields and annotations.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Color | The new color value in current color space. | 0 |
Returns OK or error.
See also SetFieldBorderColor function in DynaPDF manual.
Set transparent border color:
MBS( "DynaPDF.SetFieldBorderColor"; $PDF; 4294967281 )
Add a text field with border color
# get a page imported before, so we can now edit the page
Set Variable [ $r ; Value: MBS("DynaPDF.EditPage"; $pdf; 1) ]
# for production, use transparent border
Set Variable [ $r ; Value: MBS( "DynaPDF.SetFieldBorderColor"; $PDF; 4294967281 ) ]
# for debugging, use red border
Set Variable [ $r ; Value: MBS( "DynaPDF.SetFieldBorderColor"; $PDF; 255 ) ]
# create a text field with given border color:
Set Variable [ $r ; Value: MBS("DynaPDF.CreateTextField"; $pdf; "Comments"; -1; 0; 0; 219; 70-26; 314; 26) ]
This function checks for a license.
Created 18th August 2014, last changed 29th October 2020