Revit 2022.1 API |
PrintSetup..::..Save Method |
PrintSetup Class See Also |
Save the changes for the current print setting.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Syntax
C# |
---|
public bool Save() |
Visual Basic |
---|
Public Function Save As Boolean |
Visual C++ |
---|
public: bool Save() |
Return Value
False if save operation fails, otherwise True.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when the current print setting is In-Session or the current print setting has not changed. |