LinetypeTableAdd Method (String, IEnumerableDouble) |
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(
string name,
IEnumerable<double> segmentLengths
)
Public Function Add (
name As String,
segmentLengths As IEnumerable(Of Double)
) As Integer
Parameters
- name
- Type: SystemString
A name for the new linetype. - segmentLengths
- Type: System.Collections.GenericIEnumerableDouble
Positive values are dashes, negative values are gaps.
Return Value
Type:
Int32
Index of new linetype or -1 on error.
See Also