Class CadTiledViewport
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
A tiled viewport of model space, as a record of AutoCAD's VPORT table: where it lies in the drawing area, from (0, 0) at the lower left to (1, 1) at the upper right (groups 10, 20, 11 and 21), and the view it shows (its centre, 12 and 22, and its height, 40, its width the height times the aspect, 41).
public sealed class CadTiledViewport
- Inheritance
-
CadTiledViewport
- Inherited Members
Properties
- Bottom
Gets the bottom edge, a share of the drawing area's height from 0 to 1.
- Center
Gets or sets the centre of the view, in drawing units; the window sets it as the view moves.
- Corners
Gets the corners as -VPORTS ? writes them: "0.5000,0.0000 1.0000,1.0000".
- Height
Gets or sets the height of the view, in drawing units.
- Id
Gets the number of the viewport, as AutoCAD's CVPORT gives the current one: 2, 3, 4 and on.
- Left
Gets the left edge, a share of the drawing area's width from 0 to 1.
- Right
Gets the right edge.
- Top
Gets the top edge.
- Width
Gets or sets the width of the view, in drawing units.