Method IdentifyGraphicsOverlaysAsync
IdentifyGraphicsOverlaysAsync(Point, Double, Boolean)
Initiate an identify operation on all graphics overlays which will return the single visible topmost graphic per overlay only.
Declaration
public async Task<IReadOnlyList<IdentifyGraphicsOverlayResult>> IdentifyGraphicsOverlaysAsync(Point screenPoint, double tolerance, bool returnPopupsOnly)
Parameters
Type | Name | Description |
---|---|---|
Point | screenPoint | The location on 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<System.Collections.Generic.IReadOnlyList<IdentifyGraphicsOverlayResult>> | A task that represents the asynchronous identify operation on all graphics overlays in the view The value of the TResult parameter contains a read-only collection of IdentifyGraphicsOverlayResult in top to bottom order. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
IdentifyGraphicsOverlaysAsync(Point, Double, Boolean, Int64)
Initiate an identify operation on all graphics overlays.
Declaration
public async Task<IReadOnlyList<IdentifyGraphicsOverlayResult>> IdentifyGraphicsOverlaysAsync(Point screenPoint, double tolerance, bool returnPopupsOnly, long maximumResultsPerOverlay)
Parameters
Type | Name | Description |
---|---|---|
Point | screenPoint | The location on 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 | maximumResultsPerOverlay | The maximum number of graphics to return per overlay.. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<IdentifyGraphicsOverlayResult>> | A task that represents the asynchronous identify operation on all graphics overlays in the view The value of the TResult parameter contains a read-only collection of IdentifyGraphicsOverlayResult in top to bottom order. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |