ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / ArtPage class / getZIndexOfMark Method

In This Topic
    getZIndexOfMark Method
    In This Topic
    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