PrintSetup
Represents the Print Setup (Application Menu->Print->Print Setup) within Autodesk Revit.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.PrintSetup
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class PrintSetup : APIObject
The PrintSetup type exposes the following members.
Properties
Name
Description
Public Property
CurrentPrintSetting
The current Print Setting of Print Setup.
Public Property
InSession
The in-session Print Setting of Print Setup.
Public Property
Code Example
IsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject)
Methods
Name
Description
Public Method
Delete
Delete the current print setting, and make the In-Session setting as the current one.
Public Method
Dispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
Rename
Rename the current print setting with the specified name.
Public Method
Revert
Revert the current print setting.
Public Method
Save
Save the changes for the current print setting.
Public Method
SaveAs
Save the current print setting to another print setting with the specified name.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
The Print Setup object can only get from PrintManager object.