DrawCapturedPage

ページレイアウト

説明

この関数は、CapturePage 関数で以前にキャプチャしたページを現在のページ上に描画します。任意のサイズと位置で描画できるため、ページ面付けが可能です

CapturePage を使用してある文書から別の文書へページを移動することはできないため、CapturePage を呼び出す前に必要なすべてのページを 1 つの文書に結合する必要があります。CaptureID は非表示ページへのポインターにすぎないため、解放する必要はありません

構文

Delphi

Function TPDFlib.DrawCapturedPage(CaptureID: Integer; Left, Top, Width, Height: Double): Integer;

ActiveX

Function PDFlib::DrawCapturedPage(CaptureID As Long, Left As Double, Top As Double, Width As Double, Height As Double) As Long

DLL

int DLDrawCapturedPage(int InstanceID, int CaptureID, double Left, double Top, double Width, double Height);

パラメータ

CaptureID以前にページをキャプチャしたときに CapturePage 関数が返した ID
Left宛先領域左端の座標 宛先領域上端の座標
Top宛先領域の幅
Width
Height出力先領域の高さ

戻り値

0無効な CaptureID が指定されました
1キャプチャ済みページが正常に描画されました