Revit 2026 API
Print |
Save the current print setting to another print setting with the specified name.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool SaveAs( string newName )
Public Function SaveAs ( newName As String ) As Boolean
public: bool SaveAs( String^ newName )
member SaveAs : newName : string -> bool
Parameters
- newName String
- print setting name to be saved as.
Return Value
BooleanFalse if Save As operation fails, otherwise true.
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown when the input newName already exists in current print setting list. |
See Also