GoDiagram Web Reference
BuildContextMenuSearchArray Method

Define client-side data for defining context menus for this view.
Syntax
'Declaration
 
Protected Overridable Sub BuildContextMenuSearchArray() 
protected virtual void BuildContextMenuSearchArray()
Remarks

The rendering of this view into HTML will call this method to produce a definition of custom information for areas of the image. This method should call AddSearchArrayEntry(Rectangle,String) or AddSearchArrayEntry(GoStroke,String) to define the rectangular or stroke-shaped regions and their associated information string. To reduce unneeded data, you will probably want to limit data to those objects whose see cref="GoObject.Bounds"/> intersects with GoView.GoView.DocExtent in document coordinates, or GoView.DisplayRectangle in view coordinates.

By default this calls AddContextMenu for each object to generate any context menu data.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoViewDataRenderer Class
GoViewDataRenderer Members
ContextMenus Property
AddContextMenu Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback