Skip to main content

TdxPDFPages.Insert(Integer,TdxPDFDocument) Method

Inserts all pages from a source PDF document at the specified position in the current document.

Declaration

procedure Insert(AIndex: Integer; ASource: TdxPDFDocument); overload;

Parameters

Name Type Description
AIndex Integer

An insert position (an index of the page that precedes the first inserted page in the current document).

ASource TdxPDFDocument

A source PDF document container.

Remarks

An Insert procedure call inserts all pages from the specified document but ignores all its bookmarks and attachments. Call a PDF document container’s Append procedure to merge multiple PDF documents and retain all content.

See Also