ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.PageCount

TIEPdfViewerInteraction.PageCount


Declaration

property PageCount: Integer;


Description

Returns the number of pages in the document.
This will be the same as ImageEnView.IO.Params.ImageCount


Example

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


See Also

- PageIndex
- ImageCount