ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutTool Class / OnSketchCompleteAsync Method
The geometry of the sketch.

In This Topic
    OnSketchCompleteAsync Method (LayoutTool)
    In This Topic
    Occurs when a sketch is finished.
    Syntax
    protected virtual Task<bool> OnSketchCompleteAsync( 
       Geometry geometry
    )
    Protected Overridable Function OnSketchCompleteAsync( _
       ByVal geometry As Geometry _
    ) As Task(Of Boolean)

    Parameters

    geometry
    The geometry of the sketch.

    Return Value

    True if the sketch complete event was handled.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also