/// <summary> /// Represents a custom map construction tool that enables sketching of all types of geometries (points, lines, polygons) with snapping and template support in /// ArcGIS Pro. ProSnippetConstructionToolLine is a specialized MapTool class configured for creating line geometries /// </summary> public class ProSnippetConstructionToolLine : MapTool { public ProSnippetConstructionToolLine() { IsSketchTool = true; UseSnapping = true; // Select the type of construction tool you wish to implement. // Make sure that the tool is correctly registered with the correct component category type in the daml SketchType = SketchGeometryType.Line; //Gets or sets whether the sketch is for creating a feature and should use the CurrentTemplate. UsesCurrentTemplate = true; // set FireSketchEvents property to true FireSketchEvents = true; } // ...
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)