VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebInteractiveObjectCollectionJS type / addItem Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    addItem Method
    In This Topic
    Adds an interactive object to the end of the collection.
    Syntax
    var instance = new Vintasoft.Imaging.UI.VisualTools.WebInteractiveObjectCollectionJS(typeOfElements);
    
    var value; // Type: any
    
    // Parameters
    var item; // Type: object
    
    value = instance.addItem(item);
    
    
    function addItem(
    item
    Interactive object to add.
    : object
    ) : any;

    Parameters

    item
    Interactive object to add.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if interactive object is already used in other collection.
    Browser Compatibility
    56+
    45+
    11
    See Also