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 CenterCenter is a parameter of type IPoint
fromfrom is a parameter of type IPoint
toto is a parameter of type IPoint
rotationAngle rotationAngle is a parameter of type double minorMajorRatio minorMajorRatio is a parameter of type double orientationorientation is a parameter of type esriArcOrientation
Product Availability
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.
See Also
IEllipticArc Interface | IEllipticArc.QueryCoords Method | IEllipticArc.PutCoordsByAngle Method