ImageEn, unit iexUserInteractions

TIEPdfViewer.PageIndex

TIEPdfViewer.PageIndex


Declaration

property PageIndex: Integer;


Description

Returns the index of the current page of the document.
This will be the same as ImageEnView.IO.Params.ImageIndex

Note: Changing the active page will call OnImageLoaded


Example

// Enable Previous/Next Page buttons
btnPrev.Enabled := ImageEnView1.PdfViewer.PageIndex > 0;
btnNext.Enabled := ImageEnView1.PdfViewer.PageIndex < ImageEnView1.PdfViewer.PageCount - 1;

// Navigate to the next page
ImageEnView1.PdfViewer.PageIndex := ImageEnView1.PdfViewer.PageIndex + 1;


See Also

- PageCount
- CurrentPage
- ImageIndex
- OnImageLoaded