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