indexOf Method

Summary

Gets the index of an object in this collection.

Syntax

JavaScript Syntax
AnnLayerCollection.prototype.indexOf = function( 
   item 
) 
TypeScript Syntax
indexOf( 
   item: AnnLayer 
): number; 

Parameters

annLayer

The object to query.

Return Value

The 0-based index of annLayer if it exists in the collection; otherwise, -1.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly