ImageGear .NET v25.2 - Updated
getZIndexOfMark Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ArtPage class : getZIndexOfMark Method
Returns the Z-index of the specified mark.
Syntax
ASP.NET Ajax Javascript (Specification) 
function getZIndexOfMark( 
   mark : Mark
) : number(Integer);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfArtPage.getZIndexOfMark(Mark);

Parameters

mark
The mark to locate.

Return Value

The zero-based Z-index of the specified mark, or -1 if the mark is not associated with the ArtPage.
Remarks

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.

See Also

Reference

ArtPage class
ArtPage Members

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