ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > MarkCollection class : markAdded Event |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function add_markAdded(handler : Function) function remove_markAdded(handler : Function) |
ASP.NET Ajax Javascript (Usage) | |
---|---|
.add_markAdded(handler); .remove_markAdded(handler); |
The collection will raise this event whenever a mark is added (as the result of a call to the addMark or addMarks functions). The object will raise this event after it has added the mark(s).
When the collection raises this event, it will provide a MarkEventArgs object as the event argument. When raised as a result of the addMark function, the event argument will have its ImageGear.Web.UI.MarkEventArgs.mark property set to the added mark. When raised as a result of the addMarks function, the event argument will not contain a ImageGear.Web.UI.MarkEventArgs.mark property.