DynaPDF Manual - Page 470

Previous Page 469   Index   Next Page 471

Function Reference
Page 470 of 777
Real Bounding Box (character spacing = 5.0)
C h a r a c t e r S p a c i n g
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.
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)
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.
LBOOL pdfGetURIAction(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Action handle
struct TPDFURIAction* Action) // see below
struct TPDFURIAction
// Must be set to sizeof(TPDFURIAction)
const char* BaseURL;
// Optional, if defined in the Catalog object.
// 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: GetTextWidth (Font API), GetTextWidthEx

Next topic: GetUseExactPwd, GetUseGlobalImpFiles