Skip to main content
Table of Contents

TTMSFNCCustomPDFLib.MovePages Method

Moves selected pages, preserving their supplied order, to a final position.

API unit family: TMSFNCPDFLib Declaring type: TTMSFNCCustomPDFLib

Overloads

Overload 1

Moves selected pages, preserving their supplied order, to a final position.

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

Overload 2

Moves a consecutive page range to a zero-based final position.

GeneratedPascalC++
procedure MovePages(const PageRange: TTMSFNCPDFPageRange; DestinationIndex: Integer); overload;
void __fastcall MovePages(const TTMSFNCPDFPageRange &PageRange, int DestinationIndex);

Remarks

The pages retain their order within the moved range.

Parameters

Name Description
PageRange First page and number of consecutive pages to move.
DestinationIndex Zero-based position occupied by the first moved page after the operation.