THotPDF.DACopyFile Method

Provides the DACopyFile behavior for the document creation workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
InputFileNameFile path used as the source or destination for this operation
OutputFileNameFile path used as the source or destination for this operation
PageCountInput used by DACopyFile

Return value

Returns an Integer value

Usage notes

Related APIs