Class CadPublishSheet
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
One row of the Publish dialog's sheet list: a space of a drawing, Model or a layout, with the name it goes by in the list, the page setup it is plotted with and how far it is ready to be. A drawing that is open is plotted as it stands, with its unsaved edits; any other is read from its file when the sheet is added.
public sealed class CadPublishSheet
- Inheritance
-
CadPublishSheet
- Inherited Members
Fields
- DrawingFailedToLoad
The status of a sheet whose drawing file could not be read.
- DrawingNotFound
The status of a sheet whose drawing file is not there.
- LayoutNotFound
The status of a sheet whose drawing has no Model or layout of the name the sheet gives.
- Loaded
The status of a sheet that is ready to publish.
- ModelName
The name of model space as a sheet names it.
- PageSetupNotFound
The status of a sheet whose page setup is not in the drawing it is taken from.
Properties
- Document
Gets the drawing the sheet is of, null where it was not read.
- DrawingFile
Gets the full path of the drawing's file; empty for a drawing that is open and has no file yet.
- IsLoaded
Gets whether the sheet can be published: its space was read and its page setup is there.
- IsModel
Gets whether the sheet is model space.
- LayoutName
Gets the name of the space:
Model, or the layout's name.
- Name
Gets the name in the list, the drawing's name and the layout's joined by a hyphen:
plan-level2-Layout1.
- PageSetup
Gets the name of the page setup the sheet is plotted with; empty for its own, the page setup its layout is set to, which the list shows as
<Default: …>.
- PageSetupFile
Gets the file the page setup was imported from; empty for one of the sheet's own drawing.
- Space
Gets the space the sheet plots, null where its drawing was not read or has no such space.