Adds a line style to the current drawing.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddLineStyle( _
ByVal StyleName As System.String, _
ByVal StyleDefinition As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IDrawingDoc
Dim StyleName As System.String
Dim StyleDefinition As System.String
Dim value As System.Boolean
value = instance.AddLineStyle(StyleName, StyleDefinition) |
Parameters
- StyleName
- Name of line style
- StyleDefinition
- Comma-delimited string of line lengths and spacing values for the line style
Return Value
True if successful, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2011 FCS, Revision Number 19.0