←Select platform

Clear Method

Summary

Clears the tracking history of this document.

Syntax
C#
VB
C++
public void Clear() 
Public Sub Clear() 
public:  
   void Clear() 

Return Value

Remarks

This method will clear the internal list of items for tracking history of this document to create a new baseline.

DocumentHistory manages the history of the document. It can be accessed through the History property of LEADDocument. It contains an internal list of DocumentHistoryItem objects for each modification or change that occurred in the document.

The items can be retrieved, updated or cleared through GetItems, SetItems and Clear respectively.

For more information, refer to Document Toolkit History Tracking.

Example

For an example, refer to DocumentHistory.

Requirements

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