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

DynaPDF Manual - Page 450

Previous Page 449   Index   Next Page 451

Function Reference
Page 450 of 750
GetTemplWidth
Syntax:
double pdfGetTemplWidth(
const PPDF* IPDF, // Instance pointer
SI32 Handle)
// Template handle
The function returns the width of a template. The parameter Handle must be a valid template handle.
Return values:
If the function succeeds the return value is the width of the template. If the function fails the return
value is a negative error code.
GetTextDrawMode
Syntax:
SI32 pdfGetTextDrawMode(
const PPDF* IPDF) // Instance pointer
typedef enum
{
dmNormal
= 0,
dmStroke
= 1,
dmFillStroke
= 2,
dmInvisible
= 3,
dmFillClip
= 4,
dmStrokeClip
= 5,
dmFillStrokeClip = 6,
dmClipping
= 7
}TDrawMode;
The function returns the text draw mode. Se draw modes are described in detail under
SetTextDrawMode().
GetTextFieldValue
Syntax:
LBOOL pdfGetTextFieldValue(
const PPDF* IPDF,
// Instance pointer
UI32 AField,
// Field handle
char* ADDR Value,
// Field value
LBOOL ADDR ValIsUnicode,
// If true, Value is a Unicode string
char* ADDR DefValue,
// Default value
LBOOL ADDR DefValIsUnicode) // If true, DeValue is a Unicode string
The function returns the value and default of a text field. Both values can be in Ansi or Unicode
format (UTF-16).
Return value:
If the function succeeds the return value is 1, if the function fails the return value is 0.
 

Previous topic: GetTemplHeight

Next topic: GetTextScaling