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

Leadtools.Annotations.Engine Assembly

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