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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

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