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

DynaPDF Manual - Page 449

Previous Page 448   Index   Next Page 450

Function Reference
Page 449 of 750
GetTabLen
Syntax:
SI32 pdfGetTabLen(
const PPDF* IPDF) // Instance pointer
The function returns the tabulator length in spaces that is used to emulate tabulators during text
formatting (see WriteFText() for further information).
Because tabulators are emulated with spaces they have no fixed with. The width of a tabulator
depends on the width of the space character of the active font.
Default value = 3
GetTemplCount
Syntax:
SI32 pdfGetTemplCount(
const PPDF* IPDF) // Instance pointer
The function returns the number of templates used by a page. The page must be opened with
EditPage() beforehand.
Return values:
If the function succeeds the return value is the number of templates. If the function fails the return
value is a negative error code.
GetTemplHandle
Syntax:
SI32 pdfGetTemplHandle(
const PPDF* IPDF) // Instance pointer
The function returns the handle of the current open template or a negative error code on failure.
GetTemplHeight
Syntax:
double pdfGetTemplHeight(
const PPDF* IPDF, // Instance pointer
SI32 Handle)
// Template handle
The function returns the height of a template. The parameter Handle must be a valid template handle.
Return values:
If the function succeeds the return value is the height of the template. If the function fails the return
value is a negative error code.
 

Previous topic: GetSysFontInfo

Next topic: GetTextFieldValue