THotPDF.GetLoadedPageTransition Method

Reads the page transition animation style and animation duration of the specified page in the loaded PDF document

Declaration

function GetLoadedPageTransition(PageIndex: Integer; out AStyle: AnsiString; out ADuration: Single): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page
AStyleOutput parameter, receives the transition animation type name (e.g., 'Split', 'Blinds', 'Dissolve', etc.)
ADurationOutput parameter, receives the transition animation duration (in seconds)

Return value

Returns True if the page contains a Trans dictionary and it is read successfully, otherwise returns False; when False is returned, the values of AStyle and ADuration are undefined

Usage notes

Related APIs