VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebHighlightObjectsJS type / getItem Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    getItem Method
    In This Topic
    Returns the object at the specified index.
    Syntax
    var instance = new Vintasoft.Imaging.UI.VisualTools.WebHighlightObjectsJS(objects, brush, pen);
    
    var value; // Type: Vintasoft.Imaging.UI.VisualTools.WebHighlightObjectJS
    
    // Parameters
    var index; // Type: number
    
    value = instance.getItem(index);
    
    
    function getItem(
    index
    Zero-based index of object in the collection.
    : number
    ) : WebHighlightObjectJS;

    Parameters

    index
    Zero-based index of object in the collection.

    Return Value

    An instance of WebHighlightObjectJS class.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if index is less than zero or index is greater than collection length.
    Browser Compatibility
    56+
    45+
    11
    See Also