View3DRestoreOrientationAndLock Method

Locks the view and restores its orientation.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void RestoreOrientationAndLock()
Exceptions
ExceptionCondition
InvalidOperationException View has never been locked.
See Also