DADrawCapturedPage
直接アクセス機能、ページレイアウト
説明
DrawCapturedPage 関数で元々キャプチャしたページを、指定したページに描画します。元ページは同じ文書(同じ FileHandle を持つ)からキャプチャされている必要があります
構文
Delphi
Function TPDFlib.DADrawCapturedPage(FileHandle, DACaptureID, DestPageRef: Integer; PntLeft, PntBottom, PntWidth, PntHeight: Double): Integer;
ActiveX
Function PDFlib::DADrawCapturedPage(FileHandle As Long, DACaptureID As Long, DestPageRef As Long, PntLeft As Double, PntBottom As Double, PntWidth As Double, PntHeight As Double) As Long
DLL
int DLDADrawCapturedPage(int InstanceID, int FileHandle, int DACaptureID, int DestPageRef, double PntLeft, double PntBottom, double PntWidth, double PntHeight);
パラメータ
| FileHandle | DAOpenFile、DAOpenFileReadOnly または DAOpenFromStream 関数により返されるハンドル |
|---|---|
| DACaptureID | DACapturePage 関数から返されたキャプチャ ID |
| DestPageRef | DAFindPage または DANewPage 関数から返されるページ参照 |
| PntLeft | 出力先長方形の左端の水平座標。ページの左端からポイント単位で測定します |
| PntBottom | ページ下端からポイント単位で測定した、出力先矩形の下端の垂直座標 |
| PntWidth | 出力先長方形の幅(ポイント単位) |
| PntHeight | ポイント単位で測定した宛先矩形の高さ |
戻り値
| 0 | 指定した FileHandle、PageRef、または DACaptureID が無効です |
|---|---|
| 1 | キャプチャページが正常に描画されました double PntWidth, double PntHeight); |