THotPDF.SetLoadedPageTransition Method
Sets the slideshow page transition effect and duration for the specified page in the loaded PDF document, used for full-screen presentation scenarios
Declaration
procedure SetLoadedPageTransition(PageIndex: Integer; const AStyle: AnsiString; ADuration: Single);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index of the target page |
AStyle | Transition style name; the PDF specification defines Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover and Fade |
ADuration | The duration of the transition animation, in seconds |
Return value
This member returns no value
Usage notes
- Transitions only take effect in PDF viewers that support presentation mode; Adobe Acrobat has the most complete coverage of the standard styles
- ADuration is the duration of the transition animation itself, which is a different parameter from the page dwell time set by SetLoadedPageDuration
- Changes must be saved before they can become persistent