Property ServiceCurveGeometryMode
ServiceCurveGeometryMode
Gets or sets a value indicating whether curve geometries are fetched from and sent to services that support them.
Declaration
public static ServiceCurveGeometryMode ServiceCurveGeometryMode { get; set; }
Property Value
Type | Description |
---|---|
ServiceCurveGeometryMode | Determines if curve geometries are fetched from and sent to services that support them. |
Remarks
By default, curve geometries are not fetched from services that support curves, meaning that densified versions of any
curve geometries are fetched from the service. To instead fetch original geometries with curve segments (those where
HasCurves is true
), set this property to FetchCurves.
Ensure that you do this before any calls to services are made, as it cannot be changed after the first request has begun.
By default, Runtime indicates that is it not a true curve capable client when sending updates to services that support curves.
This means that curve geometries stored in services where
OnlyAllowTrueCurveUpdatesByTrueCurveClients is true cannot be updated by default. To
update such geometries, ensure your app correctly handles curve segments (where IsCurve is true
) in geometries throughout the workflow and set
this property to TrueCurveClient. You must do this before any calls to services are made -
it cannot be changed after making the first request.
For details of curve support in services, see ArcGIS REST API documentation.
For services that don't support curves, this value has no effect. It also has no effect on local data sources that may contain curve geometries, such as mobile geodatabases or mobile map packages created using ArcGIS Pro.
Some geometry operations do not support curve geometries; see GeometryEngine for details of curve support. SketchEditor does not support curve geometries.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.12 - 100.15 |
.NET 5 | 100.12 |
.NET Core 3.1 | 100.12 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 100.15 |