Show / Hide Table of Contents

Class GraphicFenceParameters

Geotrigger fence parameters created from graphics.

Inheritance
System.Object
FenceParameters
GraphicFenceParameters
FenceParameters.BufferDistance
FenceParameters.CreateFromGeoElement(GeoElement, Double)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Geotriggers
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GraphicFenceParameters : FenceParameters
Remarks

The graphics used to create a GraphicFenceParameters provide a set of geometries and attributes that define targets for a FenceGeotrigger condition. For example, if the condition is "notify me when my position comes within 50 meters of one of my target areas", the fence data is "my target areas".

A GraphicFenceParameters allows you to track a specific set of Graphic objects: these can be a selection of the graphics from a GraphicsOverlay or graphics that are not displayed on a GeoView. If you wish to track all of the graphics displayed in a GraphicsOverlay, use a GraphicsOverlayFenceParameters.

A GraphicFenceParameters is created using a list of Graphic objects. The graphics can have point, line or polygon geometry. A BufferDistance must be supplied for points or lines.

Constructors

Name Description
GraphicFenceParameters(IEnumerable<Graphic>)

Initializes a new instance of the GraphicFenceParameters class that will apply a buffer distance to the supplied graphics.

GraphicFenceParameters(IEnumerable<Graphic>, Double)

Initializes a new instance of the GraphicFenceParameters class that will apply a buffer distance to any graphics that are added to Graphics.

GraphicFenceParameters(Double)

Initializes a new instance of the GraphicFenceParameters class that will apply a buffer distance to any graphics that are added to Graphics.

Properties

Name Description
Graphics

Gets the graphics to use in the GraphicFenceParameters.

Applies to

TargetVersions
.NET Standard 2.0100.12 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.12 - 200.7
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.7
In This Article
Back to top Copyright © 2022 Esri.