Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 616

Previous Page 615   Index   Next Page 617

Function Reference
Page 616 of 750
SetBorderStyle
Syntax:
LBOOL pdfSetBorderStyle(
const PPDF* IPDF,
// Instance pointer
TBorderStyle Style) // Border style
typedef enum
{
bsSolid
= 0, // Solid border
bsBevelled
= 1, // Bevelled border
bsInset
= 2, // Inset border
bsUnderline
= 3, // Underline only
bsDashed
= 4, // Dashed border
bsUserDefined = 5
// Not allowed
}TBorderStyle;
The function set the global border style which is used for newly created form fields. It is also possible
to change the style of a specific form field, see SetFieldBorderStyle() for further information.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetCharacterSpacing
Syntax:
LBOOL pdfSetCharacterSpacing(
const PPDF* IPDF, // Instance pointer
double Value)
// Character spacing
The function sets the current character spacing. The function requires an open page, template or
pattern.
Default value = 0
Value = 0
Character
Value = 10.0
Character
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetBookmarkStyle

Next topic: Check box characters