Share

CurveElement.LineStyle Property

The line style of this curve element.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public Element LineStyle { get; set; }

Property Value

Element

Exceptions

ExceptionCondition
ArgumentNullException Thrown when argument is nullptr.
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

Was this information helpful?