codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Linetypes Collection

The collection of all linetypes in the drawing.

VBA class name:

AcadLineTypes 

Create using:

N/A 

Access via:

Document.Linetypes 

To add a new member to the collection, use the Add method. To select a specific linetype, use the Item method.

Although the Linetypes collection inherits a Delete method, you cannot actually delete the collection. Attempting to delete the Linetypes collection will result in an error. The Delete method has been removed from the documentation for this collection.

There is no limit to the number of linetypes that you can create in your drawing. However, there can be only one instance of the Linetypes Collection that is predefined for each drawing. You can make multiple references to it by using the Linetypes property. Once done with an object, the reference is automatically released.

Methods

Add

GetExtensionDictionary

GetXData

Item

Load

SetXData  

Properties

Application

Count

Document

Handle

HasExtensionDictionary

ObjectID

ObjectName

OwnerID  

Events

Modified

 

   Comments?