This document is archived and information here might be outdated.  Recommended version.


ILayer2.TipText Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILayer2.TipText Property

Map tip text at the specified location.

[Visual Basic .NET]
Public Function get_TipText ( _
    ByVal x As Double, _
    ByVal y As Double, _
    ByVal Tolerance As Double _
) As String
[C#]
public string get_TipText (
    double x,
    double y,
    double Tolerance
);
[C++]
HRESULT get_TipText(
  double x,
  double y,
  double Tolerance,
  BSTR* Text
);
[C++]

Parameters x [in] x is a parameter of type double y [in] y is a parameter of type double Tolerance [in] Tolerance is a parameter of type double Text [out, retval] Text is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The text string that gets displayed as a map tip if ShowTips=True. For a FeatureLayer this comes from the data in IFeatureLayer::DisplayField.

See Also

ILayer2 Interface