Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoViewDataRenderer Class : BuildToolTipSearchArray Method |
'Declaration Protected Overridable Sub BuildToolTipSearchArray()
protected virtual void BuildToolTipSearchArray()
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.
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