getItemsForState Method

Summary

Gets a list of all the items in the history with the specified state.

Syntax
TypeScript
JavaScript
AnnHistory.prototype.getItemsForState = function( 
   state 
) 
getItemsForState( 
   state: AnnHistoryItemState 
): AnnHistoryItem[]; 

Parameters

state

State to inquire.

Return Value

The subset of items in Items that contain matching states (AnnHistoryItem.State is equal to state).

Remarks

This is a helper method to quickly get a list of all the items in the history for the specified state, (for example, a list of all added or all deleted objects).

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly