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

In This Topic
    setContextMenu Method
    In This Topic
    Sets the context menu for the mark type.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function setContextMenu( 
       menu : ContextMenu,
       markType : MarkType
    ) : undefined;
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPageView.setContextMenu(ContextMenu,MarkType);

    Parameters

    menu
    ContextMenu object to set as a context menu
    markType
    Specifies the mouse tool to set the context menu for.

    Return Value

    Method does not return any values.
    Remarks
    This method sets the context menu for all mouse tools and the given 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