LinetypeTableAdd Method (Linetype) |
Adds a new linetype with specified definition to the linetype table.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntaxpublic int Add(
Linetype linetype
)
Public Function Add (
linetype As Linetype
) As Integer
Parameters
- linetype
- Type: Rhino.DocObjectsLinetype
Definition of new linetype. The information in linetype is copied.
If linetype.Name is empty then a unique name of the form "Linetype 01"
will be automatically created.
Return Value
Type:
Int32
Index of newline type or -1 on error.
See Also