ImageGear .NET v25.2 - Updated
setContextMenu Method

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

Reference

PageView class
PageView Members

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