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