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

DynaPDF Manual - Page 377

Previous Page 376   Index   Next Page 378

Function Reference
Page 377 of 750
void pdfGetFontSearchOrder(
const PPDF* IPDF,
// Instance pointer
TFontBaseType Order[4]) // Array to which the order can be copied
The function copies the current font search order to the parameter Order. Note that the function does
not perform any validity check.
SI32 pdfGetFontSelMode(
const PPDF* IPDF) // Instance pointer
typedef enum
= 0,
smPostScriptName = 1
The function returns the current font selection mode. The font selection mode describes what kind of
font name must be passed to SetFont(). Note that a font cannot be found if the wrong mode is set.
Default value = smFamilyName
SI32 pdfGetFontWeight(
const PPDF* IPDF) // Instance pointer
The function returns the weight that will be used to emulate a bold font style. See SetFontWeight()
for further information.
Font weights:
100 - 300
// Ultra light, Light
400 - 500
// Standard
600 - 1000 // Bold, Extra bold
double pdfGetFTextHeight(
const PPDF* IPDF,
// Instance pointer
TTextAlign Align,
// Base text alignment
const char* AText) // Formatted text

Previous topic: GetFontOrigin

Next topic: GetFTextHeightEx