Table
Object for a table.
The table is realised via a 2-D part.
|
|
|
FUNC |
COM |
SF |
---|---|---|---|---|---|
FromActiveFig |
Allocation of a table that already exists in HiCAD and reading of data |
void FromActiveFig () |
1212.3 |
+ |
- |
Create |
Creation of the table in HiCAD. If a table was already assigned to the object, it is replaced with a new table according to the current data. |
void Create () |
1212.3 |
+ |
- |
SetVal |
Sets values above row and column index. The number of rows and columns is automatically adapted when setting cell contents. |
void SetVal (int row, int col, string val) |
1212.3 |
+ |
- |
GetVal |
Queries texts above row and column index. |
void GetVal (int row, int col, string val) |
1212.3 |
+ |
- |
SetSize |
Changes number of columns and rows. |
void SetSize (int rows, int cols) |
1212.3 |
+ |
- |
SetHorAlignment |
Horizontal alignment of table position: 0: left, 1: centre, 2: right. |
void SetHorAlignment (int alignment) |
1212.3 |
+ |
- |
SetVerAlignment |
Vertical alignment of table: 0: bottom, 1: centre, 2: top. |
void SetVerAlignment (int alignment) |
1212.3 |
+ |
- |
RowCount |
Number of rows. |
int RowCount () |
1212.3 |
+ |
- |
ColCount |
Number of columns. |
int ColCount () |
1212.3 |
+ |
- |
Width |
Table width in natural coordinates. |
double Width () |
1212.3 |
+ |
- |
Height |
Table height in natural coordinates. |
double Height () |
1212.3 |
+ |
- |
SetPos |
Set table position. |
void SetPos (double x, double y) |
1212.3 |
+ |
- |
Clear |
Resetting of table data and settings. |
void Clear () |
1212.3 |
+ |
- |
DeleteTable |
Delete table in HiCAD. |
void DeleteTable () |
1212.3 |
+ |
- |
EnableVerLines |
Activate/deactivate vertical lines. |
void EnableVerLines (int enable) |
1212.3 |
+ |
- |
EnableHorLines |
Activate/deactivate horizontal lines. |
void EnableHorLines (int enable) |
1212.3 |
+ |
- |
EnableFrameLines |
Activate/deactivate frame lines. |
void EnableFrameLines (int enable) |
1212.3 |
+ |
- |
SetSpace |
Set distance of text to cell border. |
void SetSpace (double left, double top, double bottom, double right) |
1212.3 |
+ |
- |
SetColumnWidth |
Define fixed column width. |
void SetColumnWidth (int column, double width) |
1212.3 |
+ |
- |
GetPos |
Position of table. |
void GetPos (double& x, double& y) |
1212.3 |
+ |
- |
SetName |
Specify name of table (2-D part). |
void SetName (string name) |
1212.3 |
+ |
- |