Spread for ASP.NET 11 Product Documentation
IndexOf Method (SpreadImageCollection)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SpreadImageCollection Class : IndexOf Method
The Spread image to locate in SpreadImageCollection.
Determines the index of a specific spread image in the SpreadImageCollection object.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal img As SpreadImage _
) As Integer
'Usage
 
Dim instance As SpreadImageCollection
Dim img As SpreadImage
Dim value As Integer
 
value = instance.IndexOf(img)
public int IndexOf( 
   SpreadImage img
)

Parameters

img
The Spread image to locate in SpreadImageCollection.

Return Value

The index of value if found in the list; otherwise, -1.
See Also

Reference

SpreadImageCollection Class
SpreadImageCollection Members