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? 
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.