ImageGear .NET v25.2 - Updated
addMark Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ArtPage class : addMark Method
Appends a mark to the page.
Syntax
ASP.NET Ajax Javascript (Specification) 
function addMark( 
   mark : Mark
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfArtPage.addMark(Mark);

Parameters

mark
The mark to add to the collection.
Remarks

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.

See Also

Reference

ArtPage class
ArtPage Members

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