PDFExportOptions
Options for PDF export
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.PDFExportOptions
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class PDFExportOptions : IDisposable
The PDFExportOptions type exposes the following members.
Constructors
Name
Description
Public Method
PDFExportOptions
Creates a default options object.
Properties
Name
Description
Public Property
AlwaysUseRaster
If true completely use raster processing for graphics, otherwise use vector processing as much as possible.
Public Property
ColorDepth
Color depth of either black/white, gray scale or color.
Public Property
Combine
Whether export all views and sheets into one PDF file or multiple files.
Public Property
ExportQuality
The preferred export quality (DPI).
Public Property
FileName
File name of the PDF when Combine is ..
Public Property
HideCropBoundaries
Whether to hide crop boundaries.
Public Property
HideReferencePlane
Whether to hide reference/work planes.
Public Property
HideScopeBoxes
Whether to hide scope boxes.
Public Property
HideUnreferencedViewTags
Whether to hide unreferenced view tags.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
MaskCoincidentLines
Whether to mask coincident lines.
Public Property
OriginOffsetX
Offset between left sides of pdf content and paper. Always stored in unit of Feet.
Public Property
OriginOffsetY
Offset between bottom sides of pdf content and paper. Always stored in unit of Feet.
Public Property
PaperFormat
Paper format.
Public Property
PaperOrientation
Paper orientation - Portrait/Landscape/Auto
Public Property
PaperPlacement
Paper placement of either center or offset from corner.
Public Property
RasterQuality
The preferred raster quality (DPI).
Public Property
ReplaceHalftoneWithThinLines
Whether to replace halftone with thin lines.
Public Property
StopOnError
Whether export process should stop when a view fails to export
Public Property
ViewLinksInBlue
Whether set view links blue.
Public Property
ZoomPercentage
Percentage of the zoom for the view.
Public Property
ZoomType
Zoom type of either fit to page or on a specific percentage.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the PDFExportOptions
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetExportInBackground
Execute PDF export as a background process.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetNamingRule
Gets a copy of the naming rule.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
Static Member
IsValidNamingRule
Whether naming rule is valid or not.
Public Method
SetExportInBackground
Execute PDF export as a background process.
Public Method
SetNamingRule
Sets the naming rule.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)