Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Svg Namespace / SvgElementCollection Class / IndexOf Method
The element to locate.

In This Topic
    IndexOf Method (SvgElementCollection)
    In This Topic
    Searches for the specified element and returns the zero-based index.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal element As SvgElement _
    ) As System.Integer
    public System.int IndexOf( 
       SvgElement element
    )

    Parameters

    element
    The element to locate.

    Return Value

    The zero-based index of the element, if found; otherwise, -1.
    See Also