ImageGear for .NET
addPoint Method
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PointCollection Class : addPoint Method

point
The point to add to the collection.

Glossary Item Box

Appends a point to the end of the collection.

Syntax

ASP.NET Ajax Javascript (Specification) 
function addPoint( 
   point : Point
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfPointCollection.addPoint(Point);

Parameters

point
The point to add to the collection.

Remarks

The function will append a copy of the point to the end of the collection. It is similar to the standard JavaScript Array.push() function. This function copies the point so it can guarantee that it calls the pointChanged event at the proper time.

After this function has added the new point to the collection, it will raise the pointAdded event.

See Also

©2013. Accusoft Corporation. All Rights Reserved.