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

PrintSetup.Rename

Method
Description:
Rename the current print setting with the specified name.
Syntax
public bool Rename(
	string newName
)
Parameters
Parameter Type Description
newName String print setting name to be renamed as.
Return Value
Type Description
Boolean False if Rename operation fails, otherwise true.
Exceptions
Exception Condition
InvalidOperationException Thrown when the input newName already exists in current print setting list.