ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutExtensions Class / GetCurrentSketchAsync(LayoutView) Method
The layout view.

In This Topic
    GetCurrentSketchAsync(LayoutView) Method
    In This Topic
    Gets the current geometry of the sketch without finishing it.
    Syntax
    public static Task<Geometry> GetCurrentSketchAsync( 
       LayoutView layoutView
    )
    Public Shared Function GetCurrentSketchAsync( _
       ByVal layoutView As LayoutView _
    ) As Task(Of Geometry)

    Parameters

    layoutView
    The layout view.

    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