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

mark
The mark to add to the collection.

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.