You’re viewing documentation for an outdated product. The Graphics Mill Web Controls library has been removed from Graphics Mill and is now part of the Customers Canvas product line, where it is available as a set of APIs for Design Atoms and as Design Editor.

Collection.indexOf Method

Searches for the specified item and returns the zero-based index of the first occurrence within the entire collection.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function indexOf(item);

Parameters

item

Type: Global..Type

The item to locate in the collection.

Return Value

The zero-based index of the first occurrence of item within the entire collection, if found; otherwise, -1.

See Also

Reference