| ImageEn, unit iexUserInteractions |
|
TIEPdfViewer.SetPageSize
Declaration
procedure SetPageSize(Index: Integer; NewWidth, NewHeight: Integer);
Description
Sets the
width and
height of the page at the
Current DPI.
Note:
◼This method works by setting the MediaBox for the page. It is not effective with some documents
◼This method ignores the
view rotation
Example
// Set the current page size to A4
ImageEnView1.PdfViewer.SetPageSize( ImageEnView1.PdfViewer.PageIndex, 595, 842 );
See Also
◼PageWidth
◼PageHeight
◼DocumentSize