isDeleted Property

Summary

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

Syntax
TypeScript
JavaScript
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.

Remarks

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.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.