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

DynaPDF Manual - Page 413

Previous Page 412   Index   Next Page 414

Function Reference
Page 413 of 750
value >>= 8;
++p; // This is the string length when the loop returns
}
// You can now process the sequence...
}
Because the wide string versions use 16 bits per character, the conversion looks as follows:
UI32 i, p, value;
// More than two 16 bit values cannot be encoded in a 32 bit integer
UI16 sequence[2];
for (i = 0; i < count; i++)
{
value = missingGlyphs[i];
p
= 0;
shift = 0;
while (value)
{
sequence[p] = (UI16)value;
value >>= 16;
++p; // This is the string length when the loop returns
}
}
All string functions report the warning for a missing glyph only once. For example, if you call
GetTextWidth() with a text like "This is an ÔéČuro" and if the Euro character is not available in the font
then a warning is produced. However, if you output the same or another text again that contains the
missing Euro character too then no further warning is produced.
GetMiterLimit
Syntax:
double pdfGetMiterLimit(
const PPDF* IPDF) // Instance pointer
The function returns the current miter limit used to draw stroked vector graphics. The graphics state
parameter miter limit is described in detail under SetMiterLimit(). The initial miter limit to convert
EMF files is 2.0.
Default value: 10.0
GetMovieAction
Syntax:
LBOOL pdfGetMovieAction(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Action handle
struct TPDFMovieAction* Action) // see below
struct TPDFMovieAction
{
UI32
StructSize;
// Must be set to sizeof(TPDFMovieAction).
 

Previous topic: GetMissingGlyphs

Next topic: GetNamedAction