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
| Page | One-based page number; values below 1 are rejected |
|---|---|
| Transition | Direction validated transition record: Style, effect Duration in seconds, Dimension, Motion, Direction, Scale and Rectangular |
| PageDuration | Page display duration in seconds; a negative value rejects the call |
Return values
| 1 | The transition dictionary was written |
|---|---|
| 0 | No 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