Class CadInsertTableRequest
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
The Insert Table dialog of TABLE, as data its command and the window share: the window fills it and says what was pressed in Action; the command asks the insertion point (or the window) and makes the table. A test fills it with no window.
public sealed class CadInsertTableRequest
- Inheritance
-
CadInsertTableRequest
- Inherited Members
Constructors
- CadInsertTableRequest(CadDocument)
Makes the request of a document, as TABLE opens its dialog: the current table style, and the columns and rows used last.
Properties
- Action
Gets or sets what was pressed: OK, or Cancel.
- ByWindow
Gets or sets whether the table is placed by a window (Specify window) rather than by its insertion point.
- ColumnWidth
Gets or sets the width of each column; 63.5 as AutoCAD's dialog opens.
- Columns
Gets or sets the number of columns, 1 or more; 5 as AutoCAD's dialog opens.
- DataLink
Gets or sets the name of the data link the table is made from ("From a data link"); empty for a table started from nothing. The table then has the rows and columns of the link's data, and Columns and DataRows are not read.
- DataRows
Gets or sets the number of data rows, 1 or more, under the title and the header; 4 as the design opens it.
- Document
Gets the document the table is made in.
- FromDataExtraction
Gets or sets whether the table is made from the data of the drawing's objects ("From object data in the drawing (Data Extraction)"): the Data Extraction wizard follows.
- RowHeightLines
Gets or sets the height of a data row in lines of its text, 1 or more.
- TableStyle
Gets or sets the table style the table is written in; Standard is made where the drawing has none.