DeletePage method

<< Click to Display Table of Contents >>

Navigation:  Component Description > Methods >

DeletePage method

Declaration

function DeletePage(N: Integer): Boolean;

Description

This method marks a page to be deleted. The first page has the number 0. Please store the original page count before you use DeletePage since after DeletePage this page will not be counted anymore - although the array DeletePage and UndeletePage works on doe not change. You can also use Command() with id COMPDF_DeletePage = 490. To enable the display of the page again use UnDeletePage (COMPDF_UnDeletePage = 491).