Line Object (ActiveX)

A single line segment.

Supported Platforms: Windows only

Class Information

Class Name

AcadLine

Object Inheritance
Object
   AcadObject
      AcadEntity
         AcadLine
Create Using

VBA

ModelSpace.AddLine
PaperSpace.AddLine
Block.AddLine
Access Via

VBA

ModelSpace.Item
PaperSpace.Item
Block.Item
SelectionSet.Item
Group.Item

Members

These members are part of this object:

Remarks

Lines can be one segment or a series of connected segments, but each segment is a separate Line object. Use the Line object if you want to edit individual segments. If you need to draw a series of line segments as a single object, use the LWPolyline object.

To create a line, use the AddLine method.