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);

參數

CaptureIDCapturePage 函式傳回的 ID 錨點的水平座標
Left
Bottom錨點的垂直座標
Width放置擷取頁面的矩形寬度
Height放置擷取頁面的矩形高度
Angle旋轉擷取頁面的角度,自基準線起以度為單位、逆時針量測

傳回值

0CaptureID 無效
1擷取頁面繪製成功