THPDFHeadlessDocument.AppendImportedPages

function AppendImportedPages(Source: THPDFHeadlessDocument;
  const PageIndices: array of Integer;
  const ImportOptions: THPDFHeadlessPageImportOptions): THPDFHeadlessPageImportResult;

Append distinct zero-based source page indices in the supplied order; an empty selection returns zero counts, duplicate selection raises hdInvalidDocument, and Source retains its original ownership and contents

The API is portable across native Linux FPC and Windows FPC/Delphi, including AES R5/R6 source and destination documents

Page import and preserved archival contracts · Native document workflows