Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

DynaPDF Manual - Page 732

Previous Page 731   Index   Next Page 733

Function Reference
Page 732 of 766
On Mac OS X there is no notification when the font database changes. Mac OS X applications need to
use functions of the font manager to determine whether font database has been modified.
SetUseTransparency
Syntax:
LBOOL pdfSetUseTransparency(
const PPDF* IPDF, // Instance pointer
LBOOL Value)
// If false, images appears opaque
The property specifies whether images should be masked with the current transparent color to make
this color transparent, see also SetTransparentColor(). This technique is known as color key masking.
The default transparent color is white.
1 bit images are inserted as an image mask if this property is true. Non-zero pixels of an image mask
are rendered with the current fill color. See InsertImageEx() for further information.
Default value = 1 (true)
Remarks:
Color key masking is never applied on images with an alpha channel.
SetUseVisibleCoords
Syntax:
LBOOL pdfSetUseVisibleCoords(
const PPDF* IPDF, // Instance pointer
LBOOL Value)
// If false, images appears opaque
The property specifies whether DynaPDF should consider the crop box to calculate to 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 were defined. The bounding boxes are described in detail under SetBBox().
Default value = 0 (false)
 

Previous topic: SetUseSystemFonts

Next topic: SetViewerPreferences