Skip to main content
Table of Contents

TTMSFNCCustomPDFLib.DeletePages Method

Deletes the selected zero-based pages.

API unit family: TMSFNCPDFLib Declaring type: TTMSFNCCustomPDFLib

Overloads

Overload 1

Deletes the selected zero-based pages.

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

Overload 2

Deletes a consecutive range of zero-based pages.

GeneratedPascalC++
procedure DeletePages(PageIndex, PageCount: Integer); overload;
void __fastcall DeletePages(int PageIndex, int PageCount);

Parameters

Name Description
PageIndex Zero-based index of the first page to delete.
PageCount Number of pages to delete.

Overload 3

Deletes a consecutive range of zero-based pages.

GeneratedPascalC++
procedure DeletePages(const PageRange: TTMSFNCPDFPageRange); overload;
void __fastcall DeletePages(const TTMSFNCPDFPageRange &PageRange);

Remarks

The document must retain at least one page after the operation.

Parameters

Name Description
PageRange First page and number of consecutive pages to delete.