SetPageTransitionRange

Page properties and presentations

Description

Applies a legacy typed page transition and page display duration to a parsed page range

Syntax

Function TPDFlib.SetPageTransitionRange(Const PageRange: WideString; Transition: TPDFlibPageTransition; Duration, TransDuration: Double): Integer;

Parameters

PageRangeA one-based range such as 1-3,7, or an empty string for every page
TransitionLegacy effect constant, as documented for SetPageTransition
DurationPage display duration in seconds; a negative value leaves every page unchanged
TransDurationTransition effect duration in seconds; a negative value leaves every page unchanged

Return values

Returns the number of pages updated

Remarks

Use ptNone to clear the transition and page duration from every selected page

See also

SetPageTransition, SetPageTransitionRangeEx