ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PointCollection class / setPoint Method

In This Topic
    setPoint Method
    In This Topic
    Changes the value of a point in the collection.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function setPoint( 
       index : number(Integer),
       point : Point
    ) : (Any);
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPointCollection.setPoint(number(Integer),Point);

    Parameters

    index
    The zero-based index of the point to change.
    point
    The new value to assign to the specified point.
    Remarks

    This function changes the value of a point to a copy of the specified point. This function will not add a new point to the collection; the collection must contain an point at the given index before you call this function.

    If the new value is different from the original value, this function will raise the pointChanged event.

    See Also