GoDiagram Web Reference
BuildToolTipSearchArray Method

Define the client-side tooltip behavior for this view.
Syntax
'Declaration
 
Protected Overridable Sub BuildToolTipSearchArray() 
protected virtual void BuildToolTipSearchArray()
Remarks

The rendering of this view into HTML will call this method to produce a definition of where in the image the browser will display a tooltip. (Of course, not all browsers will actually display tooltips.) This method should call AddSearchArrayEntry(RectangleF,String) or AddSearchArrayEntry(GoStroke,String) to define the rectangular or stroke-shaped regions and their associated tooltip strings. 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 method calls AddToolTip on each object to produce tooltips for the visible objects whose GoObject.GetToolTip method returns a string. It also calls BuildScrollMarginToolTipSearchArray to generate tooltips for the scroll margins.

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
ToolTips Property
AddToolTip Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback