prepareToSave Method


Prepares this document for saving.


JavaScript Syntax
DocumentViewer.prototype.prepareToSave = function() 
TypeScript Syntax
prepareToSave(): boolean; 

Return Value

true if the document in the viewe requires saving; otherwise, false.


This method must be called before the Document currently in the viewer is saved or passed to a document services that uses the LEADTOOLS Document Converters for conversion to a new format.

The method will update all the data that might have been changed by the user including the text or annotations containers.


Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly