CurveElementLineStyle Property

The line style of this curve element.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Element LineStyle { get; set; }

Property Value

Element
Exceptions
ExceptionCondition
ArgumentNullException Thrown when argument is .
InvalidOperationException Thrown when regeneration failed. -- or -- Thrown when fail to get line style.
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.
See Also