DynaPDF Manual - Page 513

Previous Page 512   Index   Next Page 514

Function Reference
Page 513 of 839
GetWMFDefExtent
Syntax:
LBOOL pdfGetWMFDefExtent(
const PPDF* IPDF, // Instance pointer
UI32 ADDR Width,
// Width in 0.01 millimetres units
UI32 ADDR Height) // Height in 0.01 millimetres units
The function retrieves the default size which is used to convert non-portable WMF files to EMF. See
InsertMetafile() for further information.
Default value:
Width
= 0;
Height = 0;
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
GetWMFPixelPerInch
Syntax:
SI32 pdfGetWMFPixelPerInch(
const PPDF* IPDF) // Instance pointer
The function returns the default pixels per inch of the y-axis which are used to convert portable
WMF files to EMF. DynaPDF uses a corrected value to get exact proportions. See InsertMetafile() for
further information.
Default value = 2400
GetWordSpacing
Syntax:
double pdfGetWordSpacing(
const PPDF* IPDF) // Instance pointer
The function returns the current word spacing.
Default value = 0
Value = 0
Word Space
Value = 80
Word
Space
 

Previous topic: GetViewport, GetViewportCount

Next topic: GetXFAStream, GetXFAStreamCount