Debenu Quick PDF logo

DeletePages

Page manipulation

Description

Removes one or more pages from the document. The document will always have at least one page.

Syntax

Delphi

function TDebenuPDFLibrary1811.DeletePages(StartPage, PageCount: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::DeletePages(StartPage As Long,
  PageCount As Long) As Long

DLL

int DPLDeletePages(int InstanceID, int StartPage, int PageCount)

Parameters

StartPage The page number of the first page to delete
PageCount The total number of pages to delete. The value will be automatically adjusted if necessary so that the document is left with at least one page.

Return values

0 The PageCount parameter was 0 or there was only a single page in the document.
Non-zero The number of pages remaining in the original document.

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport