CurveElement.LineStyle Property
The line style of this curve element.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Element LineStyle { get; set; }
Property Value
Element
Exceptions
Exception
Condition
ArgumentNullException
Thrown when argument is
null
.
InvalidOperationException
Thrown when regeneration failed. -- or -- Thrown when fail to get line style.
Remarks
The return of this property will be a
GraphicsStyle
element. These graphics styles should be associated to subcategories of the BuiltInCategory OST_Lines.
See Also
Reference
CurveElement Class
Autodesk.Revit.DB Namespace