SetPageTransitionEx

Page properties, presentations

Description

Writes a complete transition dictionary and optional page display duration with style-specific direction validation

Syntax

Function TPDFlib.SetPageTransitionEx(Page: Integer; Const Transition: TPDFlibTransitionInfo; PageDuration: Double): Integer;

Parameters

PageOne-based page number; values below 1 are rejected
TransitionDirection validated transition record: Style, effect Duration in seconds, Dimension, Motion, Direction, Scale and Rectangular
PageDurationPage display duration in seconds; a negative value rejects the call

Return values

1The transition dictionary was written
0No document is selected, the page number is invalid, a duration or Scale is negative, or Direction does not fit the selected style

Remarks

tsNone removes both /Trans and page-level /Dur, whilst PDF 1.5 styles raise the output version automatically

See also

GetPageTransitionEx, TPDFlibTransitionInfo