Returns the starting view settings for the specified document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static StartingViewSettings GetStartingViewSettings( Document doc )
Parameters
- doc Document
- The document to get the settings from, which must be a project document.
Return Value
StartingViewSettingsThe starting view settings for the document.
Exceptions
Exception | Condition |
---|---|
ArgumentException | doc is not a project document. |
ArgumentNullException | A non-optional argument was null |