Rename the current print setting with the specified name.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public bool Rename( string newName )
Parameters
- newName String
- print setting name to be renamed as.
Return Value
BooleanFalse if Rename operation fails, otherwise true.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the input newName already exists in current print setting list. |