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

Viewport.ViewportPositioning

Property
Description:
Specifies the method the viewport will be positioned on the sheet when swapped to another view. Default is set to ViewportPositioning::ViewportCenter.
Syntax
Exceptions
Exception Condition
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration