ImageEn, unit iexUserInteractions

TIEPdfViewer.DocumentSize

TIEPdfViewer.DocumentSize


Declaration

property DocumentSize: TPoint;


Description

Return the total height of the document if all pages were stacked vertically (i.e. as if ShowAllPages is enabled, and the width of the widest page).

Note:
This method considers the view rotation. I.e. rotating the document will change the value of DocumentSize
DocumentSize is returned as bitmap dimensions, i.e. it is NOT affected by Zoom
This is affected by IEGlobalSettings().PdfViewerDefaults.DPI


Example

docH := ImageEnView1.PdfViewer.DocumentSize.Y;


See Also

PageWidth
PageHeight