THPDFViewer Rotation

Dreht die angezeigte Seite und die Viewer-Modell-Snapshots in 90-Grad-Schritten, ohne das PDF-Seiten-Dictionary zu ändern

Deklarationen

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

Verwendungshinweise

Beispiel

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