Indicates whether to prevent the browser context menu from appearing if activated on top of the events element.
Object.defineProperty(InteractiveService.prototype, 'preventContextMenu',
get: function(),
set: function(value)
)
preventContextMenu: boolean;
true to prevent the browser context menu from appearing if activated on top of the events element; otherwise, it is false. Default value is false.
If you use InteractiveModes to associate an interactive mode with the right mouse button, then the viewer will automatically set the value of PreventContextMenu of its service instance to true.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET