THPDFViewer-rotation

Roterar den visade sidan och Viewer-modellens snapshots i 90-graderssteg utan att ändra PDF-sidordlistan

Deklarationer

property ViewRotation: Integer;
procedure RotateClockwise;
procedure RotateCounterClockwise;
procedure ResetViewRotation;
procedure ApplyViewRotation(Bitmap: TBitmap);

Användningsanmärkningar

Exempel

PDFViewer.RotateClockwise;
Snapshot := PDFViewer.Model.CreateCurrentPageSnapshot(150);
try
  Snapshot.SaveToFile('rotated-page.bmp');
finally
  Snapshot.Free;
end;
PDFViewer.ResetViewRotation;