Linetype Object (ActiveX)

The line characteristics consisting of combinations of dashes, dots, and spaces.

Supported Platforms: Windows only

Class Information

Class Name

AcadLinetype

Object Inheritance
Object
   AcadObject
      AcadLinetype
Create Using

VBA

Linetypes.Add
Linetypes.Load
Access Via

VBA

Linetypes.Item
Document.ActiveLinetype

Members

These members are part of this object:

Remarks

You can only create default linetypes programmatically using the Add method. However, you can load an existing linetype to your drawing programmatically using the Load method.

There is no limit to the number of linetypes that can exist in your drawing. However, only one linetype can be active at a time. New objects are created with the linetype that is specified for the active layer. If no linetype has been specified for the active layer, new objects are created with the active linetype. To make a linetype active, use the ActiveLinetype property.

To add an existing linetype to your drawing, use either the Add or Load method.