ImageGear .NET v24.12 - Updated
setPoint Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > PointCollection class : setPoint Method
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

Reference

PointCollection class
PointCollection Members