ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class / SketchTip Property
Example

In This Topic
    SketchTip Property
    In This Topic
    Gets and sets text for a sketch tip.The text follows the cursor when the tool is active.
    Syntax
    protected string SketchTip {get; set;}
    Protected Property SketchTip As String
    Example
    Set a simple sketch tip
    public class SketchToolWithSketchTip : MapTool
    {
      public SketchToolWithSketchTip()
      {
        IsSketchTool = true;
        SketchType = SketchGeometryType.Line;
        SketchOutputMode = SketchOutputMode.Map;
        SketchTip = "hello World";
      }
    }
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also