THotPDF.DACopyFile Method

以直接存取(Direct Access)模式複製 PDF 檔案。

宣告

function DACopyFile(const InputFileName: TFileName; const OutputFileName: TFileName; out PageCount: Integer): Integer;

單元

HPDFDoc

參數

名稱用途
InputFileName輸入 PDF 檔案的路徑。
OutputFileName輸出 PDF 檔案的路徑。
PageCount(選用)傳出參數,傳回複製的檔案頁數。

傳回值

傳回操作狀態代碼,1 表示成功。

使用說明

相關 API