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

DynaPDF Manual - Page 458

Previous Page 457   Index   Next Page 459

Function Reference
Page 458 of 750
GetUseTransparency
Syntax:
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)
GetUseVisibleCoords
Syntax:
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().
GetViewerPreferences
Syntax:
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
0x00000000
#define avNonFullScrUseNone
0x00000001
#define avNonFullScrUseOutlines 0x00000002
#define avNonFullScrUseThumbs
0x00000004
 

Previous topic: GetUseSystemFonts

Next topic: GetViewportCount