DADrawRotatedCapturedPage
直接アクセス機能、ページレイアウト
説明
DADrawCapturedPage 関数と似ていますが、キャプチャ済みページを任意の角度で描画できます
構文
Delphi
Function TPDFlib.DADrawRotatedCapturedPage(FileHandle, DACaptureID, DestPageRef: Integer; PntLeft, PntBottom, PntWidth, PntHeight, Angle: Double): Integer;
ActiveX
Function PDFlib::DADrawRotatedCapturedPage(FileHandle As Long, DACaptureID As Long, DestPageRef As Long, PntLeft As Double, PntBottom As Double, PntWidth As Double, PntHeight As Double, Angle As Double) As Long
DLL
int DLDADrawRotatedCapturedPage(int InstanceID, int FileHandle, int DACaptureID, int DestPageRef, double PntLeft, double PntBottom, double PntWidth, double PntHeight, double Angle);
パラメータ
| FileHandle | DAOpenFile、DAOpenFileReadOnly または DAOpenFromStream 関数により返されるハンドル |
|---|---|
| DACaptureID | DACapturePage 関数から返されたキャプチャ ID |
| DestPageRef | DAFindPage 関数または DANewPage 関数が返すページ参照 ページ左端からポイント単位で測った移動先矩形左端の水平座標 |
| PntLeft | |
| PntBottom | ページ下端からポイント単位で測定した、出力先矩形の下端の垂直座標 |
| PntWidth | ポイントで測定した宛先矩形の幅 ポイントで測定した宛先矩形の高さ |
| PntHeight | |
| Angle | ベースラインから反時計回りの度数で測定した、キャプチャページの回転角度 |
戻り値
| 0 | 指定した FileHandle、PageRef、または DACaptureID が無効です |
|---|---|
| 1 | キャプチャ済みページが正常に描画されました double PntBottom, double PntWidth, double PntHeight, double Angle); |