ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ArtPage class : reorderMark Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function reorderMark( mark : Mark, zIndex : number(Integer) ) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfArtPage.reorderMark(Mark,number(Integer)); |
This function reorders a mark within the Z-order of the page. It will remove it from its current location in the Z-order and re-insert it so it has the given Z-index. If the mark is not currently associated with the page, this function will throw an exception. If the mark already has the specified Z-index, this function will do nothing and will not raise the markReordered event.
After this function reorders the mark, it will raise the markReordered event. Reordering one mark implicitly reorders other marks as well, but this function will not raise the markReordered event for those implicitly-reordered marks.