Skip to content

Files

Latest commit

4294fdc · Nov 6, 2024

History

History

SketchToolWithHalos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024

SketchToolWithHalos

This sample illustrates how to build a sketch tool that has a number of halos of specific distances that follow the cursor.
The halos are implemented as an embeddable control that is displayed as a SketchTip.

View it live

Language:              C#
Subject:               Editing
Contributor:           ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization:          Esri, https://www.esri.com
Date:                  11/04/2024
ArcGIS Pro:            3.4
Visual Studio:         2022
.NET Target Framework: net8.0-windows

Resources

Community Sample Resources

Samples Data

  • Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.

How to use the sample

  1. Download the Community Sample data (see under the 'Resources' section for downloading sample data)
  2. Make sure that the Sample data is unzipped in c:\data
  3. The project used for this sample is 'C:\Data\Interacting with Maps\Interacting with Maps.aprx'
  4. In Visual Studio click the Build menu.Then select Build Solution.
  5. Launch the debugger to open ArcGIS Pro.
  6. ArcGIS Pro will open, select the Interacting with Maps.aprx project
  7. Select the 'Add-In' tab on the ArcGIS Pro ribbon and activate the 'Sketch Tool with Halos' tool.
    UI
  8. Move your mouse around and notice how the halos follow the cursor. Zoom in and out and notice how the halos adjust to the different map scale.

      ArcGIS Pro SDK for Microsoft .NET Framework              Home | API Reference | Requirements | Download | Samples