VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Svg Namespace / WebPointCollectionJS type / insert Method
Point index in the collection.
X coordinate of point.
Y coordinate of point.
In This Topic
    insert Method
    In This Topic
    Inserts a point into collection.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.Svg.WebPointCollectionJS(points, maxLength);
    var value; // Type: any
    
    // Parameters
    var index; // Type:  number
    var x; // Type:  number
    var y; // Type:  number
    
    value = instance.insert(index, x, y);
    function insert( 
       index : number,
       x : number,
       y : number
    ) : any;

    Parameters

    index
    Point index in the collection.
    x
    X coordinate of point.
    y
    Y coordinate of point.
    Browser Compatibility
    9
    5
    11
    5
    See Also