DrawCapturedPageMatrix

Page layout

Description

此函式把先前以 CapturePage 函式擷取的頁面畫到目前頁面上。尺寸/位置/旋轉以轉換矩陣指定,適合進階的頁面拼版。

CapturePage 無法把頁面從一份文件搬到另一份文件,因此呼叫 CapturePage 之前,必須先把所需頁面合併進單一文件。CaptureID 只是指向隱藏頁面的指標,因此不需要釋放。

語法

Delphi

Function TPDFlib.DrawCapturedPageMatrix(CaptureID: Integer; M11, M12, M21, M22, MDX, MDY: Double): Integer;

ActiveX

Function PDFlib::DrawCapturedPageMatrix(CaptureID As Long, M11 As Double, M12 As Double, M21 As Double, M22 As Double, MDX As Double, MDY As Double) As Long

DLL

int DLDrawCapturedPageMatrix(int InstanceID, int CaptureID, double M11, double M12, double M21, double M22, double MDX, double MDY);

參數

CaptureID先前擷取頁面時 CapturePage 函式傳回的 ID 矩陣成分
M11
M12Matrix component
M21Matrix component
M22Matrix component
MDXMatrix component
MDYMatrix component

傳回值

0指定了無效的 CaptureID
1擷取頁面繪製成功