TdxCustomPreview.OnSelectedPageChanged Event
Enables you to respond to navigating to a different available page in the displayed document.
Declaration
property OnSelectedPageChanged: TdxPreviewPageEvent read; write;
Remarks
This event is fired in response to calling the GoToFirstPage, GoToLastPage, GoToNextPage, or GoToPrevPage procedures. The Sender parameter specifies the instance of a TdxCustomPreview class descendant that fired the OnSelectedPageChanged event in response to changing the currently selected page. To identify the newly selected page’s index, you can use the APageIndex parameter in the event handler.
For the PDF Viewer, the OnSelectedPageChanged event is raised in response to changing the CurrentPageIndex property value.
See Also