GetPageTransition
Page properties, Page layout
Description
Review the syntax, parameters, and return values before calling the function
Syntax
Function TPDFlib.GetPageTransition(Page: Integer; Out Transition: TPDFlibPageTransition; Out Duration, TransDuration: Double): Integer;Parameters
| Page | One-based page number; an invalid page returns 0 with zeroed outputs |
|---|---|
| Transition | Receives the legacy transition; ptNone when the page has no transition dictionary or stores a PDF 1.5 style this call cannot express |
| Duration | Receives the page-level /Dur display duration in seconds, or 0 when absent |
| TransDuration | Receives the transition effect duration in seconds, or 0 on failure |
Return values
| 1 | The page carries a transition dictionary and the outputs were filled |
|---|---|
| 0 | No document is selected, the page number is invalid or no transition dictionary exists |
Remarks
Use GetPageTransitionEx to preserve PDF 1.5 styles and Fly-specific values