Condense Method

Summary

Condense the items to squash and simplify the history from multiple calls to Append.

Syntax
TypeScript
JavaScript
AnnHistory.prototype.condense = function() 
condense(): void; 

Remarks

Condense simplifies the history from multiple calls to Append. For example, consider the following actions:

  1. User creates Rectangle annotation R

  2. User calls Append

  3. User moves R

  4. User calls Append

  5. User deletes R

  6. User calls Append

There are now three entries in the history:

  • Added
    • R
  • Modified
    • R
  • Deleted
    • R

When condensed, R is removed altogether from the history because it is no longer present.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly