Share

Polyline2d Class

Description

This .NET class wraps the AcDb2dPolyline ObjectARX class.

The Polyline2d class represents the 2D polyline entity within AutoCAD.

Class Hierarchy

Autodesk.AutoCAD.DatabaseServices.DBObject
    Autodesk.AutoCAD.DatabaseServices.Entity
        Autodesk.AutoCAD.DatabaseServices.Curve
            Autodesk.AutoCAD.DatabaseServices.Polyline2d

Visual Basic

Public Class Polyline2d
Inherits Curve
Inherits IEnumerable

C#

public class Polyline2d : Curve, IEnumerable;

Notes

The controlling application must explicitly delete the subentities of any complex entity that is not database resident. Otherwise, a small memory leak will result.

Do not derive from this class. Attempting to do so will cause your application to halt AutoCAD.

Links

Polyline2d Constructor, Polyline2d Methods, Polyline2d Properties

See Also

DBObject, Entity, Vertex2d

Was this information helpful?