Xojo Conferences
MBSOct2019CologneDE
XDCMarch2020NashvilleUS

DynaPDF Manual - Page 460

Previous Page 459   Index   Next Page 461

Function Reference
Page 460 of 770
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: GetSubmitAction, GetSysFontInfo

Next topic: GetTemplWidth, GetTextDrawMode, GetTextFieldValue