THotPDF.DACopyFile Method

Copies a PDF file in Direct Access mode.

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
InputFileNamePath of the input PDF file
OutputFileNamePath of the output PDF file
PageCount(Optional) out parameter receiving the number of pages copied

Return values

Returns the operation status code, 1 signifies success.

Usage

See also