public EllipticArcBuilder( EllipticArcSegment ellipticArc )
Public Function New( _ ByVal ellipticArc As EllipticArcSegment _ )
Parameters
- ellipticArc
- The elliptic arc segment.
public EllipticArcBuilder( EllipticArcSegment ellipticArc )
Public Function New( _ ByVal ellipticArc As EllipticArcSegment _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
System.ArgumentNullException | ellipticArc is null. |
// Builder constructors need to run on the MCT. ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() => { // retrieve the curve's control points using (EllipticArcBuilder builder = new EllipticArcBuilder(arcSegment)) { MapPoint startPt = builder.StartPoint; MapPoint endPt = builder.EndPoint; Coordinate2D centerPt = builder.CenterPoint; bool isCircular = builder.IsCircular; bool isMinor = builder.IsMinor; double startAngle = builder.StartAngle; double endAngle = builder.EndAngle; double centralAngle = builder.CentralAngle; double rotationAngle = builder.RotationAngle; esriArcOrientation orientation = builder.Orientation; } });
Target Platforms: Windows 10, Windows 8.1, Windows 7