PrintParameters
An object that contains settings used for printing the document.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.PrintParameters
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class PrintParameters : APIObject
The PrintParameters type exposes the following members.
Properties
Name
Description
Public Property
ColorDepth
The color depth type.
Public Property
HiddenLineViews
The hidden line views type.
Public Property
HideCropBoundaries
Indicates whether to hide crop boundaries when printing.
Public Property
HideReforWorkPlanes
Indicates whether to hide reference/work planes when printing.
Public Property
HideScopeBoxes
Indicates whether to hide scope boxes when printing.
Public Property
HideUnreferencedViewTags
Indicates whether to hide unreferenced view tags when printing.
Public Property
Code Example
IsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject)
Public Property
MarginType
The print margin type.
Public Property
MaskCoincidentLines
Indicates whether to mask coincident lines when printing.
Public Property
OriginOffsetX
The User defined X value of offset from left bottom corner. Unit is feet.
Public Property
OriginOffsetY
The User defined Y value of offset from left bottom corner. Unit is feet.
Public Property
PageOrientation
The Page Orientation of the Print Setting.
Public Property
PaperPlacement
The paper placement type.
Public Property
PaperSize
The page size.
Public Property
PaperSource
The page source.
Public Property
RasterQuality
The raster quality type.
Public Property
ReplaceHalftoneWithThinLines
Indicates whether to replace halftone with thin lines when printing.
Public Property
UserDefinedMarginX
Obsolete.
The User defined X value of offset from left bottom corner. Unit is inch.
Public Property
UserDefinedMarginY
Obsolete.
The User defined Y value of offset from left bottom corner. Unit is inch.
Public Property
ViewLinksinBlue
Indicates whether to view links in blue when printing.
Public Property
Zoom
The zoom value to a percentage of the original size.
Public Property
ZoomType
The zoom type.
Methods
Name
Description
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
ToString
Returns a string that represents the current object.
(Inherited from Object)