Skip to content

PDFExportOptions

Public Class

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

If true completely use raster processing for graphics, otherwise use vector processing as much as possible.


Public Property

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

Whether to hide crop boundaries.


Public Property

Whether to hide reference/work planes.


Public Property

Whether to hide scope boxes.


Public Property

Whether to hide unreferenced view tags.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

Whether to mask coincident lines.


Public Property

Offset between left sides of pdf content and paper. Always stored in unit of Feet.


Public Property

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

Paper placement of either center or offset from corner.


Public Property

The preferred raster quality (DPI).


Public Property

Whether to replace halftone with thin lines.


Public Property

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

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

Execute PDF export as a background process.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

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

Execute PDF export as a background process.


Public Method

Sets the naming rule.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)