PrintSetup.SaveAs Method

PrintSetupSaveAs Method

Save the current print setting to another print setting with the specified name.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.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

Boolean
False if Save As operation fails, otherwise true.
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the input newName already exists in current print setting list.
See Also