ArcGIS Pro 3.7 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 Property SketchTip As String
    protected string SketchTip {get; set;}
    Example
    Set a simple sketch tip
    /// <summary>
    /// Represents a map tool that enables line sketching with a predefined sketch tip.
    /// </summary>
    /// <remarks>This tool is configured to allow users to sketch lines on the map. The sketch tip provides
    /// guidance to the user during the sketching process.</remarks>
    public class SketchToolWithSketchTip : MapTool
    {
      public SketchToolWithSketchTip()
      {
        IsSketchTool = true;
        SketchType = SketchGeometryType.Line;
        SketchOutputMode = SketchOutputMode.Map;
        SketchTip = "hello World";
      }
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also