ImageGear .NET v25.0 - Updated
getContextMenu Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > PageView class : getContextMenu Method
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

Reference

PageView class
PageView Members