ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ArtPage class : getZIndexOfMark Method |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfArtPage.getZIndexOfMark(Mark); |
This function returns the zero-based Z-index of the specified mark. If the mark is not associated with the ArtPage, this function will return -1. The getMark function performs the opposite operation. The mark at Z-index 0 is the bottom-most mark in the Z-order.
Note that a mark Z-index is not the same as an ImageGear for .NET MarkID. MarkID's are unique for a mark and never change, while a mark Z-index simply indicates the position of mark within the Z-order and the mark Z-index will change whenever the Z-order changes.