Table of Contents

Class CadPublishOptions

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What the Publish dialog sets besides the list of sheets: where they go, one PDF or a PDF each, the number of copies, the folder and the name of the PDF, which sheets are listed when a drawing is added, and what is done once it is published. A sheet list file (.dsd) keeps the first five and Open in viewer (see CadDsdFile); Publish in background is a box that does nothing here, as every publish runs at once.

public sealed class CadPublishOptions
Inheritance
CadPublishOptions
Inherited Members

Properties

Copies

Gets or sets the number of copies, 1 to 99, printed of each sheet that goes to a printer; a PDF has one.

CreateBookmarks

Gets or sets AutoCAD's Create bookmarks: each PDF written carries an outline, a bookmark Sheets and Views with a bookmark under it for each page, named as the sheet is in the list, that goes to the page. False until set; a sheet list file does not keep it. The sheets of a sheet set are published with it on.

FileName

Gets or sets the name of the multi-sheet PDF, with or without .pdf, and with a folder where it is not the output folder; empty for the name of the first drawing listed, as plan-level2.pdf for plan-level2.dxf.

IncludeHyperlinks

Gets or sets AutoCAD's Include hyperlinks for the sheets of the list: the hyperlinks of the objects plotted become links of the PDF (PdfHyperlinks). False until set; a sheet list file does not keep it.

IncludeLayouts

Gets or sets AutoCAD's Include Layouts when adding sheets: true until set.

IncludeModel

Gets or sets AutoCAD's Include Model when adding sheets: true until set.

MultiSheet

Gets or sets whether a PDF is one file of a page for each sheet (the multi-sheet file of AutoCAD) rather than a file for each sheet; true until set. Sheets plotted as the plotter of their page setup is a printer are not in the file.

OpenInViewer

Gets or sets AutoCAD's Open in viewer when done: each PDF written is opened in the program Windows gives its type.

OutputFolder

Gets or sets the folder the PDFs are written to, AutoCAD's Default output location; empty for the folder of the first drawing listed that has a file, else Documents.

PublishInBackground

Gets or sets AutoCAD's Publish in background. The box is kept and does nothing: a publish here runs at once and ends with its report.

PublishTo

Gets or sets where the sheets go; Pdf until set.

Methods

Clone()

Makes a copy that changes apart from this one.