Viewport.Rotation Property

ViewportRotation Property

The rotation of the viewport on the sheet.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.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
Exceptions
ExceptionCondition
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration
See Also