DynaPDF Manual - Page 487

Previous Page 486   Index   Next Page 488

Function Reference
Page 487 of 818
The function returns the fonts in the current font search order. That means if the search order is
{fbtTrueType, fbtOpenType, fbtType1, fbtStdFont}, for example, then the function returns first all
TrueType fonts sorted in ascending order, then all OpenType fonts, and so on.
Since standard fonts are no system fonts, these fonts are not returned.
Return values:
If the function succeeds the return value is greater or equal zero and the parameter Out was
initialized or filled with values. If the function fails the return value is a negative error code. The
parameter Out is not initialized in this case.
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.
 

Previous topic: GetStrokeColor, GetSubmitAction, GetSysFontInfo

Next topic: GetTemplHeight, GetTemplWidth, GetTextDrawMode


Start Chat