DynaPDF Manual - Page 827
Previous Page 826 Index Next Page 828
Function Reference
Page 827 of 860
vpPrintClip
(PDF 1.4) The parameter AddVal specifies name of the page boundary
to which the contents of a page are to be clipped when printing the
document. The value is the key designating the relevant page
boundary in 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