This document is archived and information here might be outdated. Recommended version. |
Snapping tip types.
Constant | Value | Description |
---|---|---|
esriSnappingTipLayerName | 1 | Snapping tip contains the layer name. |
esriSnappingTipSnappingType | 2 | Snapping tip contains the snapping type. |
The snapping tip type can contain the layer name of the feature layer that was snapped to, or the snapping type that was satisfied. The default is to show both the layer name and the snapping type as part of the snap tip.
You can use the following statement to set the snapping tip type:
snappingEnvironment.SnapTipType=esriSnappingTipType.esriSnappingTipLayerName;
Alternatively, the following statement specifies that the snapping tip does not show the layer name or the snapping type:
snappingEnvironment.SnapTipType=(esriSnappingTipType)0;
The following statement specified both the layer name and snapping type should be displayed:
snappingEnvironment.SnapTipType=(esriSnappingTipType)3;