ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.DocumentSize

TIEPdfViewerInteraction.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.

Notes:
- 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


Example

docH := ImageEnView1.PdfViewer.DocumentSize.Y;


See Also

- PageWidth
- PageHeight