Skip to main content
Table of Contents

TTMSFNCCustomPDFLib.DuplicatePages Method

Duplicates selected pages at the requested position, or appends them when -1.

API unit family: TMSFNCPDFLib Declaring type: TTMSFNCCustomPDFLib

Overloads

Overload 1

Duplicates selected pages at the requested position, or appends them when -1.

GeneratedPascalC++
procedure DuplicatePages(const PageIndices: array of Integer; DestinationIndex: Integer = -1); overload;
void __fastcall DuplicatePages(const int *PageIndices, const System::NativeInt PageIndices_High, int DestinationIndex = -1);

Overload 2

Duplicates a consecutive page range at the requested position.

GeneratedPascalC++
procedure DuplicatePages(const PageRange: TTMSFNCPDFPageRange; DestinationIndex: Integer = -1); overload;
void __fastcall DuplicatePages(const TTMSFNCPDFPageRange &PageRange, int DestinationIndex = -1);

Parameters

Name Description
PageRange First page and number of consecutive pages to duplicate.
DestinationIndex Zero-based insertion position, or -1 to append the copies.