Show / Hide Table of Contents

Method IdentifyGraphicsOverlayAsync

IdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean)

Initiates an identify operation on the specified graphics overlay which will return the visible topmost graphic.

Declaration
public async Task<IdentifyGraphicsOverlayResult> IdentifyGraphicsOverlayAsync(GraphicsOverlay graphicsOverlay, Point screenPoint, double tolerance, bool returnPopupsOnly)
Parameters
Type Name Description
GraphicsOverlay graphicsOverlay

The overlay on which to run the identify.

Point screenPoint

The location at which to run identify in screen coordinates.

Double tolerance

The width and height in screen coordinates of the square centered on screen coordinate that will be used in the identify.

Boolean returnPopupsOnly

Controls whether the graphics property of the result is populated.

Returns
Type Description
System.Threading.Tasks.Task<IdentifyGraphicsOverlayResult>

A task that represents the asynchronous identify operation on the specified graphics overlay. The value of the TResult parameter contains a read-only collection of Graphic

Exceptions
Type Condition
System.ArgumentNullException

graphicsOverlay

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12

IdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean, Int64)

Initiates an identify operation on the specified graphics overlay.

Declaration
public async Task<IdentifyGraphicsOverlayResult> IdentifyGraphicsOverlayAsync(GraphicsOverlay graphicsOverlay, Point screenPoint, double tolerance, bool returnPopupsOnly, long maximumResults)
Parameters
Type Name Description
GraphicsOverlay graphicsOverlay

The overlay on which to run the identify.

Point screenPoint

The location at which to run identify in screen coordinates.

Double tolerance

The width and height in screen coordinates of the square centered on screen coordinate that will be used in the identify.

Boolean returnPopupsOnly

Controls whether the graphics property of the result is populated.

Int64 maximumResults

The maximum size of the result set to return.

Returns
Type Description
System.Threading.Tasks.Task<IdentifyGraphicsOverlayResult>

A task that represents the asynchronous identify operation on the specified graphics overlay. The value of the TResult parameter contains a read-only collection of Graphic

Exceptions
Type Condition
System.ArgumentNullException

graphicsOverlay

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.