Converts the ellipse into a Circle if the ellipse is circular.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public Circle ToCircle() |
Visual Basic (Declaration) |
---|
Public Function ToCircle As Circle |
Visual C++ |
---|
public: Circle^ ToCircle() |
Return Value
Returns the ellipse as a Circle if the ellipse is circular.Remarks
Use the IsCircular -test before converting to avoid an exception!
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The ellipse is not circular. |