PrintSetup Class

Represents the Print Setup (Application Menu->Print->Print Setup) within Autodesk Revit.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBAPIObject
    Autodesk.Revit.DBPrintSetup

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
 NameDescription
Public propertyCurrentPrintSettingThe current Print Setting of Print Setup.
Public propertyInSessionThe in-session Print Setting of Print Setup.
Public propertyCode exampleIsReadOnlyIdentifies if the object is read-only or modifiable.
(Inherited from APIObject)
Top
Methods
 NameDescription
Public methodDeleteDelete the current print setting, and make the In-Session setting as the current one.
Public methodDisposeCauses the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRenameRename the current print setting with the specified name.
Public methodRevertRevert the current print setting.
Public methodSaveSave the changes for the current print setting.
Public methodSaveAsSave the current print setting to another print setting with the specified name.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
The Print Setup object can only get from PrintManager object.
See Also