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

DynaPDF Manual - Page 716

Previous Page 715   Index   Next Page 717

Function Reference
Page 716 of 750
Remarks:
Please note that the internal font list is not automatically updated when the system's font pool
changes. Windows operating systems send a WM_FONTCHANGE message if the font pool was
modified. In this case, the application should call ClearHostFonts() before calling SetFont() the next
time so that the list of available system fonts can be updated.
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. Please note that the color is changed to the appropriate value
when changing the color space.
Alpha based transparency can be applied with an extended graphics state that must be active before
inserting an image. See CreateExtGState() for further information.
Default value = 1 (true)
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