Pré. | Proc. |
ElementGrid Class
The ElementGrid object represents a Custom Table, which is used to display custom data in tabular format on a diagram, the data being provided by the user rather than generated by the system.The ElementGrid object is accessible from an Element object, using the GetElementGrid() method.
Associated table in repository
t_objectElementGrid Methods
Method |
Remarks |
See also |
---|---|---|
GetCell (int nrow, int ncell) |
Variant Notes: The cell value is return as a variant value. Parameters:
|
|
GetColumnCount () |
Integer Notes: Returns the number of columns in the grid. |
|
GetRowCount () |
Integer Notes: Returns the number of rows in the grid. |
|
SetCell (int nRow, int nCell, variant sValue) |
Boolean Notes: Sets a value in the specified cell. Parameters:
|
|
SetGridSize (int nRows, int nColumns) |
Boolean Notes: Sets the size of the grid in rows and columns. The size can be set and reset; any data outside the bounds of the new grid size will be lost on resize. Parameters:
|