THPDFViewer Rotation

PDF 페이지 딕셔너리를 바꾸지 않으면서 표시 중인 페이지와 뷰어 모델 스냅샷을 90도 단위로 회전합니다

선언

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

사용 참고 사항

예제

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