ArcObjects Library Reference (Geometry)  

IEllipticArc.PutCoords Method

Sets the center point and endpoints, angle of rotation, and orientation.

[Visual Basic .NET]
Public Sub PutCoords ( _
    ByVal ellipseStd As Boolean, _
    ByVal Center As IPoint, _
    ByVal from As IPoint, _
    ByVal to As IPoint, _
    ByVal rotationAngle As Double, _
    ByVal minorMajorRatio As Double, _
    ByVal orientation As esriArcOrientation _
)
[C#]
public void PutCoords (
    bool ellipseStd,
    IPoint Center,
    IPoint from,
    IPoint to,
    double rotationAngle,
    double minorMajorRatio,
    esriArcOrientation orientation
);
[C++]
HRESULT PutCoords(
  VARIANT_BOOL ellipseStd,
  IPoint* Center,
  IPoint* from,
  IPoint* to,
  double rotationAngle,
  double minorMajorRatio,
  esriArcOrientation orientation
);
[C++]

Parameters

ellipseStd   ellipseStd is a parameter of type VARIANT_BOOL Center

  Center is a parameter of type IPoint

from

  from is a parameter of type IPoint

to

  to is a parameter of type IPoint

rotationAngle   rotationAngle is a parameter of type double minorMajorRatio   minorMajorRatio is a parameter of type double orientation

  orientation is a parameter of type esriArcOrientation

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

PutCoords creates an Elliptic Arc given the EllipseStd value, Center Point, From Point, To Point, Rotation Angle, Minor Axis to Major Axis Ratio, and the Arc Orientation.  If EllipseStd = TRUE, the From Point and To Point locations are relative offsets from the Center Point rather than the origin.

Remarks

Unless the coordinates of the From and To Points are exactly on the defined Elliptic Arc, PutCoords is likely to create an invalid Elliptic Arc.  Therefore, it is highly recommended that another Elliptic Arc creation method is used unless all of the necessary input parameters are exactly known.

IEllipticArc PutCoords Example

See Also

IEllipticArc Interface | IEllipticArc.QueryCoords Method | IEllipticArc.PutCoordsByAngle Method

.NET Related Topics

How to work with IEllipticArc properties |