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