ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > Mark class : moveToFront Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function moveToFront() : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfMark.moveToFront(); |
This function moves the mark to the top of the Z-order. When they overlap, marks that are higher in the Z-order are drawn over marks that are lower. You can use ArtPage.reorderMark for the same purpose, but this function is often more convenient.
Because the ordering is stored in an ArtPage, you can only reorder a mark when it is associated with an ArtPage.