DrawRotatedCapturedPage
페이지 레이아웃, 페이지 조작
설명
DrawCapturedPage 함수와 유사하지만 캡처한 페이지를 어떤 각도로든 그릴 수 있습니다. 앵커 지점은 DrawCapturedPage 함수와 같은 왼쪽 위 모서리가 아니라 왼쪽 아래 모서리입니다
구문
Delphi
Function TPDFlib.DrawRotatedCapturedPage(CaptureID: Integer; Left, Bottom, Width, Height, Angle: Double): Integer;
ActiveX
Function PDFlib::DrawRotatedCapturedPage(CaptureID As Long, Left As Double, Bottom As Double, Width As Double, Height As Double, Angle As Double) As Long
DLL
int DLDrawRotatedCapturedPage(int InstanceID, int CaptureID, double Left, double Bottom, double Width, double Height, double Angle);
매개변수
| CaptureID | CapturePage 함수가 반환한 ID 앵커 포인트의 가로 좌표 |
|---|---|
| Left | |
| Bottom | 기준점의 세로 좌표 |
| Width | 캡처한 페이지를 배치할 사각형의 너비 |
| Height | 캡처한 페이지를 배치할 사각형의 높이 |
| Angle | 기준선에서 반시계 방향으로 측정한 캡처 페이지의 회전 각도 |
반환 값
| 0 | CaptureID가 유효하지 않습니다 |
|---|---|
| 1 | 캡처한 페이지가 성공적으로 그려졌습니다 |