ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class / UpdateOverlay Method / UpdateOverlay(IEnumerable<IDisposable>,IEnumerable<Geometry>,CIMSymbolReference,Double,Double) Method
The set of IDisposable instance returned from a group of AddOverlay method calls.
The set of geometry to be used for the update
The symbol to use for the update.
Map reference scale or -1
Visibility factor for showing the overlay through other objects when obscured in 3D.
Valid range is [0..1], any other value will be treated as 0 (not visible).

In This Topic
    UpdateOverlay(IEnumerable<IDisposable>,IEnumerable<Geometry>,CIMSymbolReference,Double,Double) Method
    In This Topic
    Updates the geometry and symbol for a set of overlay graphics on the map view. Each overlay is drawn with the same symbol.
    Syntax

    Parameters

    overlays
    The set of IDisposable instance returned from a group of AddOverlay method calls.
    geometries
    The set of geometry to be used for the update
    symbol
    The symbol to use for the update.
    referenceScale
    Map reference scale or -1
    showThrough
    Visibility factor for showing the overlay through other objects when obscured in 3D.
    Valid range is [0..1], any other value will be treated as 0 (not visible).

    Return Value

    True if the overlays were updated. False otherwise.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also