Table of Contents

Class CadExportPdfOptions

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What EXPORTPDF's Save As PDF dialog sets beside the file, as AutoCAD 2021's Output Controls: whether the PDF opens in the viewer when written and carries the plot stamp, what is exported, the page setup used or overridden, and the options of Export to PDF Options. EXPORTPDF hangs it on its file request (PdfOptions); a window that answers only the file leaves it as made, which exports as EXPORTPDF did before it: the current layout, or the display of model space, by the page setup in use. A layout drawing offers Current layout and All layouts, model space Display, Extents and Window.

public sealed class CadExportPdfOptions
Inheritance
CadExportPdfOptions
Inherited Members

Fields

AllLayouts

Export every layout, a page each, in the order of the tabs.

CurrentLayout

Export the current layout.

Display

Export what model space shows.

Extents

Export the extents of model space.

Window

Export a window of model space, its two corners picked after the dialog where none is given.

Properties

Export

Gets or sets what is exported, one of Exports; the first to start with.

Exports

Gets what the Export list offers: Current layout and All layouts in a layout, else Display, Extents and Window.

IncludeHyperlinks

Gets or sets whether each hyperlink of an object plotted becomes a link of the PDF over its box (Include hyperlinks); on as made.

IncludePlotStamp

Gets or sets whether the PDF carries the plot stamp (Include plot stamp); the session's stamp's On to start with.

IsModel

Gets whether model space is exported, its Export list Display, Extents and Window.

OpenInViewer

Gets or sets whether the PDF is opened in the viewer once written (Open in viewer when done); off as made.

OverridePageSetup

Gets or sets whether the page setup is overridden by PageSetupOverride (Page Setup: Override); off, Current, each space is exported by its own.

PageSetupOverride

Gets the settings Page Setup Override changes: the paper size, the plot style table, the orientation, the scale and Scale lineweights; a copy of the page setup in use to start with.

PlotStamp

Gets the plot stamp the dialog's Plot Stamp Settings change, a copy of the session's; it becomes the session's when the PDF is exported.

WindowBox

Gets or sets the window exported where Export is Window, in drawing units; empty, as it starts, the two corners are asked on the command line once the dialog is closed.