public override Polyline ToGeometry()
Public Overrides NotOverridable Function ToGeometry() As Polyline
Return Value
A Polyline.
public override Polyline ToGeometry()
Public Overrides NotOverridable Function ToGeometry() As Polyline
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
// 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