VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebPointCollectionJS type / add Property
Syntax Exceptions BrowserCompatibility SeeAlso
    add Method
    Adds a point to the end of collection.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebPointCollectionJS(points, maxLength);
    
    var value; // Type: any
    
    // Parameters
    var x; // Type: number
    var y; // Type: number
    
    value = instance.add(x, y);
    
    

    Parameters

    x
    X coordinate of point.
    y
    Y coordinate of point.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Thrown if collection has fixed length.
    Browser Compatibility
    56+
    45+
    11
    See Also