THPDFViewer Rotation

Fait pivoter la page affichée et les instantanés du modèle du Viewer par pas de 90 degrés sans modifier le dictionnaire de page PDF

Déclarations

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

Notes d'utilisation

Exemple

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