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

View.DisplayStyle

Property
Description:
The DisplayStyle of the view. Returns DisplayStyle.Wireframe if the view has no display style.
Syntax
public DisplayStyle DisplayStyle { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: DisplayStyle cannot be set to Undefined. -or- When setting this property: DisplayStyle of Drafting Views can be set only to Wireframe or HLR
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration
InvalidOperationException When setting this property: DisplayStyle cannot be modified. -or- When setting this property: This view does not contain display-related properties.