PDFExportOptions Class

PDFExportOptions Class

Options for PDF export
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBPDFExportOptions

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public class PDFExportOptions : IDisposable
Public Class PDFExportOptions
	Implements IDisposable
public ref class PDFExportOptions : IDisposable
type PDFExportOptions = 
    class
        interface IDisposable
    end

The PDFExportOptions type exposes the following members.

Constructors
 NameDescription
Public methodPDFExportOptions Creates a default options object.
Top
Properties
 NameDescription
Public propertyAlwaysUseRaster If true completely use raster processing for graphics, otherwise use vector processing as much as possible.
Public propertyColorDepth Color depth of either black/white, gray scale or color.
Public propertyCombine Whether export all views and sheets into one PDF file or multiple files.
Public propertyExportQuality The preferred export quality (DPI).
Public propertyFileName File name of the PDF when Combine is .
Public propertyHideCropBoundaries Whether to hide crop boundaries.
Public propertyHideReferencePlane Whether to hide reference/work planes.
Public propertyHideScopeBoxes Whether to hide scope boxes.
Public propertyHideUnreferencedViewTags Whether to hide unreferenced view tags.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyMaskCoincidentLines Whether to mask coincident lines.
Public propertyOriginOffsetX Offset between left sides of pdf content and paper. Always stored in unit of Feet.
Public propertyOriginOffsetY Offset between bottom sides of pdf content and paper. Always stored in unit of Feet.
Public propertyPaperFormat Paper format.
Public propertyPaperOrientation Paper orientation - Portrait/Landscape/Auto
Public propertyPaperPlacement Paper placement of either center or offset from corner.
Public propertyRasterQuality The preferred raster quality (DPI).
Public propertyReplaceHalftoneWithThinLines Whether to replace halftone with thin lines.
Public propertyStopOnError Whether export process should stop when a view fails to export
Public propertyViewLinksInBlue Whether set view links blue.
Public propertyZoomPercentage Percentage of the zoom for the view.
Public propertyZoomType Zoom type of either fit to page or on a specific percentage.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the PDFExportOptions
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetExportInBackground Execute PDF export as a background process.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNamingRule Gets a copy of the naming rule.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIsValidNamingRule 
Public methodSetExportInBackground Execute PDF export as a background process.
Public methodSetNamingRule 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also