Parameters
- polyline
- Polyline used for construction of the geometry of this builder.
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
System.ArgumentNullException | polyline is null. |
// Builder constructors need to run on the MCT. ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() => { using (PolylineBuilder polylineBuilder = new PolylineBuilder(polyline)) { polylineBuilder.ReverseOrientation(); Polyline reversedPolyline = polylineBuilder.ToGeometry(); } });
Target Platforms: Windows 10, Windows 8.1, Windows 7