ImageEn, unit iexUserInteractions |
|
TIEPdfViewer.PageRotation
Declaration
property PageRotation[Index: Integer]: TIEPdfPageRotation;
Description
Rotates a page of the current document.
Note:
◼Setting
PageRotation will modify the document. To rotate the view only (of whole document), use
ViewRotation◼DocModified will be true after setting
PageRotation | Demos\PDF\PDFViewer\PdfViewer.dpr |
// Rotate current page only (updating the document)
ImageEnView1.PdfViewer.PageRotation[ ImageEnView1.PdfViewer.PageIndex ] := iepr90Clockwise;
// Flip the entire document
ImageEnView1.LockUpdate();
for i := 0 to ImageEnView1.PdfViewer.PageCount -1 do
ImageEnView1.PdfViewer.PageRotation[ i ] := iepr180;
ImageEnView1.UnlockUpdate();