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

DynaPDF Manual - Page 454

Previous Page 453   Index   Next Page 455

Function Reference
Page 454 of 750
Real Bounding Box (character spacing = 5.0)
C h a r a c t e r S p a c i n g
Remarks:
This function is implemented in an Ansi and Unicode compatible version.
CJK to Unicode code pages are supported by the Ansi version only because CJK strings must be
converted to Unicode beforehand. These conversion algorithms are available in the Ansi version
only. However, native CJK character sets are supported by the Unicode version in combination with
a CJK font. See SetFont() for further information.
Return values:
If the function succeeds the return value is the string width in un-scaled units. If the function fails the
return value is a negative error code.
GetTransparentColor
Syntax:
UI32 pdfGetTransparentColor(
const PPDF* IPDF) // Instance pointer
The function returns the transparent color value that is used for newly inserted images.
Default value = 0xFFFFFF (RGB White)
GetTrapped
Syntax:
LBOOL pdfGetTrapped(
const PPDF* IPDF) // Instance pointer
The function returns the trapped key of the document. The default value is false. However, the real
default value is unknown that means the key is not written to the file. The trapped key must be set
with SetTrapped() if it should written to the file.
GetURIAction
Syntax:
LBOOL pdfGetURIAction(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Action handle
struct TPDFURIAction* Action) // see below
struct TPDFURIAction
{
UI32
StructSize;
// Must be set to sizeof(TPDFURIAction)
const char* BaseURL;
// Optional, if defined in the Catalog object.
LBOOL
IsMap;
// A flag specifying whether to track the mouse position
// when the URI is resolved: e.g. http://test.org?50,70.
const char* URI;
// Uniform Resource Identifier.
 

Previous topic: GetTextWidthEx

Next topic: GetUseGlobalImpFiles