GetPageTransition

Page properties, Page layout

Description

Review the syntax, parameters, and return values before calling the function

Syntax

Function TPDFlib.GetPageTransition(Page: Integer; Out Transition: TPDFlibPageTransition; Out Duration, TransDuration: Double): Integer;

Parameters

PageOne-based page number; an invalid page returns 0 with zeroed outputs
TransitionReceives the legacy transition; ptNone when the page has no transition dictionary or stores a PDF 1.5 style this call cannot express
DurationReceives the page-level /Dur display duration in seconds, or 0 when absent
TransDurationReceives the transition effect duration in seconds, or 0 on failure

Return values

1The page carries a transition dictionary and the outputs were filled
0No document is selected, the page number is invalid or no transition dictionary exists

Remarks

Use GetPageTransitionEx to preserve PDF 1.5 styles and Fly-specific values

See also

GetPageTransitionEx, SetPageTransition