RVTDocs.com
Namespace: Autodesk.Revit.DB Class: CurveElement

CurveElement.LineStyle

Property
Description:
The line style of this curve element.
Remarks:
The return of this property will be a [!:Autodesk::Revit::DB::GraphicsStyle] element. These graphics styles should be associated to subcategories of the BuiltInCategory OST_Lines.
Syntax
public Element LineStyle { get; set; }
Exceptions
Exception Condition
ArgumentNullException Thrown when argument is.
InvalidOperationException Thrown when regeneration failed. -- or -- Thrown when fail to get line style.