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 | 擷取頁面繪製成功 |