indexOf Method

Summary

Gets the index of an object in this collection.

Syntax
TypeScript
JavaScript
AnnGradientStopCollection.prototype.indexOf = function( 
   item 
) 
indexOf( 
   item: AnnGradientStop 
): number; 

Parameters

item

The object to query.

Return Value

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

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly