isDeleted Property


Quickly marks a page as deleted to remove it from viewing or conversion.

Object.defineProperty(DocumentPage.prototype, 'isDeleted', 
   get: function(), 
   set: function(value) 
isDeleted: boolean; 

Property Value

true if this page is deleted; otherwise, false. The default value is null.


Setting isDeleted to true will not remove any data from the page. It is just used to flag the page as being deleted. Everything works normally except when the document is saved, or converted when deleted pages are skipped.

Using isDeleted makes it possible to remove certain pages from the document quickly during a save operation, as well as being able to undo the operation when the save operation is complete.


Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly