DynaPDF Manual - Page 475

Previous Page 474   Index   Next Page 476

Function Reference
Page 475 of 777
LBOOL pdfGetUseTransparency(
const PPDF* IPDF) // Instance pointer
The property specifies whether images should get a transparent background. If true, the transparent
color (see SetTransparentColor() is used to mask an image. The property has no effect for JPEG
compressed images.
Default value = 1 (true)
LBOOL pdfGetUseVisibleCoords(
const PPDF* IPDF) // Instance pointer
The property specifies whether DynaPDF should consider the crop box to calculate the position of an
object. The crop box crops a page, but the paper format (media box) is left unchanged. To move the
coordinates into the visible area, set the property to true. Coordinates can then be used as if no crop
box was defined. The bounding boxes are described in detail at SetBBox().
LBOOL pdfGetViewerPreferences(
const PPDF* IPDF,
// Instance pointer
SI32 ADDR Preference, // Preference
SI32 ADDR AddVal)
// Parameter of the preference if any
typedef SI32 TViewerPreference;
#define vpUseNone
0x00000000 // No preference is set
#define vpHideToolBar
0x00000001 // No parameter
#define vpHideMenuBar
0x00000002 // No parameter
#define vpHideWindowUI
0x00000004 // No parameter
#define vpFitWindow
0x00000008 // No parameter
#define vpCenterWindow
0x00000010 // No parameter
#define vpDisplayDocTitle
0x00000020 // (PDF 1.4) No parameter
#define vpNonFullScrPageMode
0x00000040 // Key, values see below
#define vpDirection
0x00000080 // (PDF 1.3)
#define vpViewArea
0x00000100 // (PDF 1.4)
#define vpViewClip
0x00000200 // (PDF 1.4)
#define vpPrintArea
0x00000400 // (PDF 1.4)
#define vpPrintClip
0x00000800 // (PDF 1.4)
typedef SI32 TViewPrefAddVal;
#define avNone
#define avNonFullScrUseNone
#define avNonFullScrUseOutlines 0x00000002
#define avNonFullScrUseThumbs

Previous topic: GetUsesTransparency

Next topic: GetViewport, GetViewportCount