ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PageView class / getContextMenu Method

In This Topic
    getContextMenu Method
    In This Topic
    Gets the context menu for the provided mouse tool and mark type.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function getContextMenu( 
       markType : MarkType,
       mouseTool : MouseTool
    ) : ContextMenu;
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPageView.getContextMenu(MarkType,MouseTool);

    Parameters

    markType
    Specifies ART mark type to return the context menu for.
    mouseTool
    Specifies the mouse tool to return the context menu for.

    Return Value

    The method returns ContextMenu.
    Remarks
    This method returns the context menu for the given mouse tool and the mark type, or the image context menu if null value is provided as a mark type. Please see Context Menu Customization page for more details.
    See Also