Click or drag to resize

LinetypeTable Methods

The LinetypeTable type exposes the following members.

Methods
  NameDescription
Public methodAdd(Linetype)
Adds a new linetype with specified definition to the linetype table.
Public methodAdd(String, IEnumerableDouble)
Adds a new linetype with specified definition to the linetype table.
Public methodAddReferenceLinetype
Adds a reference linetypes that will not be saved in files.
Public methodClear
Marks all items as deleted.
(Inherited from CommonComponentTableT.)
Public methodDelete(Linetype) (Overrides CommonComponentTableTDelete(T).)
Public methodDelete(IEnumerableInt32, Boolean)
Deletes multiple linetypes.
Public methodDelete(Int32, Boolean)
Deletes linetype.
Public methodEquals (Inherited from Object.)
Public methodFind(String)
Finds the linetype with a given name.
Public methodFind(Guid, Boolean)
Finds a linetype with a matching ID.
Public methodFind(String, Boolean)
Obsolete. Use the other overload.
Public methodFindId
Uses the guid to find a model component. Deleted objects cannot be found by id. The guid is the value that is stored in the .Id property. In a single document, no two active objects have the same guid. If an object is replaced with a new object, then the guid persists. For example, if the _Move command moves an object, then the moved object inherits its guid from the starting object. If the Copy command copies an object, then the copy gets a new guid. This guid persists through file saving/openning operations. This function will not find grip objects.
(Inherited from CommonComponentTableT.)
Public methodFindIndex
Retrieves a Linetype object based on Index. This seach type of search is discouraged. We are moving towards using only IDs for all tables.
Public methodFindName
Finds the linetype with a given name.
Public methodGetEnumerator
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetUnusedLinetypeName
Gets unused linetype name used as default when creating new linetypes.
Public methodGetUnusedLinetypeName(Boolean)
Obsolete. Use the other overload. Gets unused linetype name used as default when creating new linetypes.
Public methodLinetypeIndexForObject
Returns the effective linetype index to be used to find the linetype definition to draw an object. If an object's linetype source is LinetypeFromObject, the linetype index in the object's attributes is used. If an object's linetype source is LinetypeFromLayer the linetype index from the object's layer is used.
Public methodLoadDefaultLinetypes
Fills in the linetype table with any default linetypes not already included.
Public methodModify
Modify linetype settings.
Public methodSetCurrentLinetypeIndex
At all times, there is a "current" linetype. Unless otherwise specified, new objects are assigned to the current linetype. The current linetype is never deleted.
Public methodToString (Inherited from Object.)
Public methodUndelete
Restores a linetype that has been deleted.
Public methodUndoModify
If the linetype has been modified and the modifcation can be undone, then UndoModify() will restore the linetype to its previous state.
Top
See Also