Zum Inhalt

.DeletePages (.PdfDocument Objektmethode)

Beschreibung

Deletes one or more consecutive pages from the document. Call Save afterwards to obtain the modified PDF.

Argumente

Name

Typ

Beschreibung

StartIndex

integer

zero-based index of the first page to delete (0 = first page)

Count

integer

(optional) number of pages to delete (default 1); clamped so it never runs past the last page

Rückgabewert integer

number of pages actually deleted, or -1 on error

Beispiel

xxx