Table of Contents

Class CadRemoteLayout

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

A layout (or model space) of a drawing of a running OpenCAD2D, as GetLayouts() lists it: its tab order, whether it is shown, its sheet settings, how many entities it holds and its viewports.

public sealed class CadRemoteLayout
Inheritance
CadRemoteLayout
Inherited Members

Properties

Entities

Gets the number of entities in the space, excluding the sheet's own viewport (number 1).

IsCurrent

Gets whether this tab is the one shown in the drawing.

IsModel

Gets whether this space is model space, which has no sheet of its own.

Name

Gets the name of the tab, Model or the layout's name.

Paper

Gets the canonical media name of the sheet, or null for model space.

PaperHeight

Gets the height of the sheet in PaperUnits; 0 for model space.

PaperUnits

Gets the sheet's units (millimetres, inches or pixels), or null for model space.

PaperWidth

Gets the width of the sheet in PaperUnits; 0 for model space.

Rotation

Gets the plot rotation in degrees: 0, 90, 180 or 270.

TabOrder

Gets the place of the tab; Model is 0.

Viewports

Gets the viewports of the layout in number order; empty for model space.