DynaPDF Manual - Page 459
Previous Page 458 Index Next Page 460
Function Reference
Page 459 of 839
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).
SI32
Annot;
// Optional. The movie annotation handle identifying the
// movie that shall be played.
float
FWPosition[2];
// FWPosition.
UI32
FWScale[2];
// FWScale.
const char*
Mode;
// Mode.
SI32
NextAction;
// -1 or next action handle to be executed if any.
TActionType
NextActionType; // Only set if NextAction is >= 0.
const char*
Operation;
// Operation.
float
Rate;
// Rate.
LBOOL
ShowControls;
// ShowControls.
LBOOL
Synchronous;
// Synchronous.
const char*
TitleA;
// The title of a movie annotation that shall be played.
// Either Annot or Title should be set, but not both.
const UI16* TitleW;
// Either the Ansi or Unicode string is set at time.
float
Volume;
// Volume.
};
The function retrieves the properties of a Movie action. The member StructSize must be set to
sizeof(TPDFMovieAction) before the function can be called.
The member FWScale is in the format numerator / denominator.
Return Values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
Previous topic: GetMissingGlyphs
Next topic: GetNamedAction