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

NamePurpose
PageIndexZero-based index of the target page
AStyle过渡样式名称,PDF 规范定义的值包括 SplitBlindsBoxWipeDissolveGlitterFlyPushCoverUncoverFade
ADurationThe duration of the transition animation, in seconds

Usage notes

Related APIs