ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutTool Class / GetCurrentSketchAsync Method

In This Topic
    GetCurrentSketchAsync Method (LayoutTool)
    In This Topic
    Gets the current geometry of the sketch without finishing it.
    Syntax
    protected Task<Geometry> GetCurrentSketchAsync()
    Protected Function GetCurrentSketchAsync() As Task(Of Geometry)

    Return Value

    A Task representing the geometry of the sketch.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also