ImageGear .NET v25.2 - Updated
moveAllPoints Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > PointCollection class : moveAllPoints Method
Adds an X and Y offset to every point in the collection.
Syntax
ASP.NET Ajax Javascript (Specification) 
function moveAllPoints() : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfPointCollection.moveAllPoints();
Remarks

This function adds the given X and Y offset to every point in the collection. If deltaX and deltaY are both 0, this function will do nothing and will not raise the pointChanged event.

After this function has moved every point, it will raise the pointChanged event a single time, without specifying which providing a specific point. It will set ImageGear.Web.UI.PointEventArgs.index to 0 and ImageGear.Web.UI.PointEventArgs.length to the number of points in the collection.

See Also

Reference

PointCollection class
PointCollection Members

Is this page helpful?
Yes No
Thanks for your feedback.