codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Linetype object

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

VBA class name:

AcadLinetype 

Create using:

Linetypes.Add
Linetypes.Load 

Access via:

Linetypes.Item
Document.ActiveLinetype 

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. To edit or query a linetype, use the following methods and properties:

Methods

Delete

GetExtensionDictionary

GetXData

SetXData

Properties

Application

Document

Description

Handle

HasExtensionDictionary

Name

ObjectID

ObjectName

OwnerID  

Events

Modified

 

   Comments?