Share

PrintSetup Class

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: 26.1.0.0 (26.1.0.34)

Syntax

C#

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)

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)

Remarks

The Print Setup object can only get from PrintManager object.

See Also

Reference

Was this information helpful?