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 | キャプチャ済みページが正常に描画されました |