Table of Contents

Class CadSpace

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

One space of a drawing: model space, or a layout (a sheet of paper with its viewports).

public sealed class CadSpace
Inheritance
CadSpace
Inherited Members

Properties

Block

Gets the block whose entities this space holds.

IsBlockEditor

Gets whether the Block Editor shows this space now (BEDIT): the block opened, which is drawn as model space is but on the Block Editor's own background, or model space itself where <Current Drawing> was opened.

IsModel

Gets whether this is model space.

Layout

Gets the layout of a paper space, null for model space.

Name

Gets the name shown on the tab: Model, or the layout's name.

PaperBounds

Gets the sheet of paper a layout is drawn on, in the units of paper space, as AutoCAD shows it behind the layout: the paper size of its plot settings about its plotted area, the printable area's lower left corner at the origin, so that a layout of A3 on its side with margins of 7.5 at the sides and 20 above and below lies from (-7.5, -20) to (412.5, 277); its limits where it has no paper size; and where it has neither, what it draws with a margin of 2 per cent of its larger side. Empty for model space, which has no paper.

PendingView

Gets or sets the part of the space a named view restored in it shows when the space is next shown, as VIEW Restore asks of a space other than the one on screen; null where none is waiting. The window zooms to it and sets it null.

Methods

ToString()