IEllipseArc Interface

IEllipseArc Interface | Send Feedback
See Also Members Example

Allows access to an Ellipse or an elliptical Arc.

# Syntax

Visual Basic |
--- | ---
    Public Interface IEllipseArc

C# |
--- | ---
    public interface IEllipseArc

JavaScript |
--- | ---
    Object dsEllipseArc

COM native C++ |
--- | ---
    interface IEllipseArc

C++ |
--- | ---
    class dsEllipseArc

# Example

Construct Ellipses and Elliptical Arcs (C#)
Construct Ellipses and Elliptical Arcs (VB.NET)
Construct Ellipses and Elliptical Arcs (VBA)

# Remarks

#### COM native C++

If the selected object is an IEllipseArc object, then get the object.

...
//Write number of selected objects to output file
long selCount = dsSelManager->GetSelectedObjectCount( dsSelectionSetType_Current );
strPrint.Format( L"Selected objects: (%d):\r\n", selCount );
fileOutput.WriteString( strPrint );
if( selCount > 0 )
{
for( long i = 0; i < selCount; ++i )
{
//Get selected object type
dsObjectType_e retObjType;
IDispatchPtr selObj = dsSelManager->GetSelectedObject( dsSelectionSetType_Current, i, &retObjType );
//If selected object is an elliptical Arc entity
if(dsEllipseArcType == retObjType )
{
IEllipseArcPtr dsEllipseArc( selObj );
strPrint.Format( L"Elliptical Arc\r\n" );
fileOutput.WriteString( strPrint );
//Do dump for elliptical Arc entity
//See the entity's Layer, LineScale, LineStyle, LineWeight,
//or Visible property for the DumpGraphicsEntity template
CAddinDumpManager::DumpGraphicsEntity<IEllipseArcPtr>( dsEllipseArc, fileOutput );
...

# Accessors

IDocument::GetObjectByHandle

ISelectionManager::GetSelectedObject

ISelectionManager::GetSelectedObjects

ISketchManager::GetEntities

ISketchManager::InsertEllipseArcDistanceToOtherAxis

ISketchManager::InsertEllipseArcRotation

ISketchManager::InsertEllipseDistanceToOtherAxis

ISketchManager::InsertEllipseRotation

IViewport::GetClippedObject

# Object Model

EllipseArc

# See Also

####

IEllipseArc Members
Interop.dsAutomation Namespace
IRegion Interface