CadExportPdfOptions
from OpenCAD2D import CadExportPdfOptions
class CadExportPdfOptions(System.Object) ยท CadExportPdfOptions in the .NET reference
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 (CadExportJob.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.
Properties and fields
AllLayouts
AllLayouts: ClassVar[str]
Export every layout, a page each, in the order of the tabs.
CurrentLayout
CurrentLayout: ClassVar[str]
Export the current layout.
Display
Display: ClassVar[str]
Export what model space shows.
Extents
Extents: ClassVar[str]
Export the extents of model space.
Window
Window: ClassVar[str]
Export a window of model space, its two corners picked after the dialog where none is given.
Export
@property
def Export(self) -> str
@Export.setter
def Export(self, value: str) -> None
Gets or sets what is exported, one of CadExportPdfOptions.Exports; the first to start with.
Exports
@property
def Exports(self) -> System.Collections.Generic.IReadOnlyList[str]
Gets what the Export list offers: Current layout and All layouts in a layout, else Display, Extents and Window.
IncludeHyperlinks
@property
def IncludeHyperlinks(self) -> bool
@IncludeHyperlinks.setter
def IncludeHyperlinks(self, value: bool) -> None
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
@property
def IncludePlotStamp(self) -> bool
@IncludePlotStamp.setter
def IncludePlotStamp(self, value: bool) -> None
Gets or sets whether the PDF carries the plot stamp (Include plot stamp); the session's stamp's On to start with.
IsModel
@property
def IsModel(self) -> bool
Gets whether model space is exported, its Export list Display, Extents and Window.
OpenInViewer
@property
def OpenInViewer(self) -> bool
@OpenInViewer.setter
def OpenInViewer(self, value: bool) -> None
Gets or sets whether the PDF is opened in the viewer once written (Open in viewer when done); off as made.
OverridePageSetup
@property
def OverridePageSetup(self) -> bool
@OverridePageSetup.setter
def OverridePageSetup(self, value: bool) -> None
Gets or sets whether the page setup is overridden by CadExportPdfOptions.PageSetupOverride (Page Setup: Override); off, Current, each space is exported by its own.
PageSetupOverride
@property
def PageSetupOverride(self) -> CadPlotSettings
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
@property
def PlotStamp(self) -> CadPlotStamp
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
@property
def WindowBox(self) -> DisplayBox
@WindowBox.setter
def WindowBox(self, value: DisplayBox) -> None
Gets or sets the window exported where CadExportPdfOptions.Export is CadExportPdfOptions.Window, in drawing units; empty, as it starts, the two corners are asked on the command line once the dialog is closed.