ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfArtPage.addMark(Mark); |
Parameters
- mark
- The mark to add to the collection.
The function will add a mark to the ArtPage, at the top of the Z-order. When they overlap, marks that are higher in the Z-order are drawn over marks that are lower.
A mark can only be associated with a single ArtPage at a time. You can move a mark from one ArtPage to another by first removing it from the current ArtPage, then associating it with the new one using ArtPage.addMark.
You can disconnect a mark from its ArtPage by calling either the removeFromPage or Mark.removeMark function.
After this function has added the new mark to the collection, it will raise the markAdded event.