ArcObjects Library Reference  (Carto)    

ILayer.TipText Property

Map tip text at the specified location.

[Visual Basic 6.0]
Property TipText(
    ByVal x As Double, _
    ByVal y As Double, _
    ByVal Tolerance As Double _
) As String
[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
);
[Java]
public String getTipText (
    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

ILayer Interface