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 | 过渡样式名称,PDF 规范定义的值包括 Split、Blinds、Box、Wipe、Dissolve、Glitter、Fly、Push、Cover、Uncover、Fade 等 |
ADuration | The duration of the transition animation, in seconds |
Usage notes
- 过渡效果仅在支持演示模式的 PDF 阅读器中生效,Adobe Acrobat 对所有标准样式支持最完整
- 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