Revit 2026 API
ViewportRotation Property |
The rotation of the viewport on the sheet.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ViewportRotation Rotation { get; set; }
Public Property Rotation As ViewportRotation Get Set
public: property ViewportRotation Rotation { ViewportRotation get (); void set (ViewportRotation value); }
member Rotation : ViewportRotation with get, set
Property Value
ViewportRotation| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration |
See Also