VintaSoft Imaging .NET SDK 12.4: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebPointCollectionJS type / changeItem Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    changeItem Method
    In This Topic
    Changes the point in collection.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebPointCollectionJS(points, maxLength);
    
    var value; // Type: any
    
    // Parameters
    var index; // Type: number
    var x; // Type: number
    var y; // Type: number
    
    value = instance.changeItem(index, x, y);
    
    
    function changeItem(
    index
    Point index in the collection.
    : number,
    x
    X coordinate of point.
    : number,
    y
    Y coordinate of point.
    : number
    ) : any;

    Parameters

    index
    Point index in the collection.
    x
    X coordinate of point.
    y
    Y coordinate of point.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Thrown if index is less than zero or index is equal to or greater than points collection length.
    Browser Compatibility
    56+
    45+
    11
    See Also