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已成功绘制捕获页面