DynaPDF Manual - Page 840

Previous Page 839   Index   Next Page 841

Function Reference
Page 840 of 874
the page object (see SetBBox() for further information). Default value:
CropBox.
SetWMFDefExtent
Syntax:
LBOOL pdfSetWMFDefExtent(
const PPDF* IPDF, // Instance pointer
UI32 Width,
// Width in 0.01 millimetres
UI32 Height)
// Height in 0.01 millimetres
The function sets 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.
SetWMFPixelPerInch
Syntax:
LBOOL pdfSetWMFPixelPerInch(
const PPDF* IPDF, // Instance pointer
UI32 Value)
// Pixels per inch of the y-axis see description
The function sets 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. The value must be in the range 2000 to 3000.
Default value = 2400
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetViewerPreferences

Next topic: SetWordSpacing, SetXFAStream