TableSectionData
Description:
The TableSectionData class represents a serialized version of an instance of section table data. The class holds row, column and cell data.
The TableSectionData class represents a serialized version of an instance of section table data. The class holds row, column and cell data.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.TableSectionData
System.Object
Autodesk.Revit.DB.TableSectionData
public class TableSectionData : IDisposable
| Name | Return Type | Description |
|---|---|---|
| AllowOverrideCellStyle(Int32, Int32) | bool | Identifies if the style can be overridden in the given cell. |
| CanInsertColumn(Int32) | bool | Verifies if a new column can be inserted at the given index. |
| CanInsertRow(Int32) | bool | Verifies if a new row can be inserted at the given index. |
| CanRemoveColumn(Int32) | bool | Verifies that if the column at the given index can be removed. |
| CanRemoveRow(Int32) | bool | Verifies that if the row at the given index can be removed.. |
| ClearCell(Int32, Int32) | None | Deletes text or image, or removes parameter of this cell. |
| Dispose() | None | Releases all resources used by the |
| GetCellCalculatedValue(Int32) | TableCellCalculatedValueData | Gets the calculated value for the specified column |
| GetCellCalculatedValue(Int32, Int32) | TableCellCalculatedValueData | Gets the calculated value for the specified cell |
| GetCellCategoryId(Int32) | ElementId | Returns a column's ParamId Associated with the paramId to find the correct element |
| GetCellCategoryId(Int32, Int32) | ElementId | Returns a cell's CategoryId and if no CategoryId exists for this cell, it would come from the column. Associated with the paramId to find the correct element. |
| GetCellCombinedParameters(Int32) | IList<TableCellCombinedParameterData> | Returns an array of combined parameter data for the specified column |
| GetCellCombinedParameters(Int32, Int32) | IList<TableCellCombinedParameterData> | Returns an array of combined parameter data for the specified cell |
| GetCellFormatOptions(Int32, Document) | FormatOptions | Returns a column's cell FormatOptions and if no FormatOptions exists for this column, it would come from the section. |
| GetCellFormatOptions(Int32, Int32, Document) | FormatOptions | Returns a cell's FormatOptions and if no FormatOptions exists for this cell, it would come from the column, or the row, or the section. |
| GetCellParamId(Int32) | ElementId | Returns a column's ParamId |
| GetCellParamId(Int32, Int32) | ElementId | Returns a cell's ParamId and if no ParamId exists for this cell, it would come from the column |
| GetCellSpec(Int32, Int32) | ForgeTypeId | Gets the spec describing values of a cell, if applicable. |
| GetCellText(Int32, Int32) | string | Returns the text shown by this cell, if the cell's type is CellType.Text or CellType.ParameterText. |
| GetCellType(Int32) | CellType | Returns a column's cell type and if no type exists for this column, it would come from the section |
| GetCellType(Int32, Int32) | CellType | Returns a cell's Type and if no Type exists for this cell, it would come from the column, or the row, or the section |
| GetCellUnitType(Int32, Int32) | UnitType | Gets the unit type of a cell, if applicable. |
| GetColumnWidthInPixels(Int32) | int | This returns a column's width in logical pixels |
| GetColumnWidth(Int32) | double | Returns a column's width in feet |
| GetMergedCell(Int32, Int32) | TableMergedCell | Gets the whole merged cell that this cell is a part of. |
| GetRowHeightInPixels(Int32) | int | This returns a row's height in logical pixels |
| GetRowHeight(Int32) | double | Returns a row's height in feet |
| GetTableCellStyle(Int32, Int32) | TableCellStyle | Returns a cell's style and if no style exists for this cell, it would come from the column, or the section |
| InsertColumn(Int32) | None | Inserts a new column at the specified index relative to the current set of columns. |
| InsertImage(Int32, Int32, ElementId) | None | Inserts a image in the given cell. |
| InsertRow(Int32) | None | Inserts a row data at a specified index. |
| IsAcceptableParamIdAndCategoryId(ElementId, ElementId) | bool | Identifies if the given parameter id and category id can be assigned to a cell in this table. |
| IsAcceptableParamIdAndCategoryId(Int32, ElementId, ElementId) | bool | Identifies if the given parameter id and category id can be assigned to a cell in the given row in this table. |
| IsCellFormattable(Int32, Int32) | bool | Determines whether the cell is formattable or not |
| IsCellOverridden(Int32) | bool | Indicates if the column is overridden or not. |
| IsCellOverridden(Int32, Int32) | bool | Indicates if the cell is overridden or not. |
| IsDataOutOfDate() | bool | Indicates whether the data in this section is out of date. |
| IsValidColumnNumber(Int32) | bool | Verifies if the column number is valid. |
| IsValidImageSymbolId(ElementId) | bool | Identifies if the element id represents a valid ImageSymbol element. |
| IsValidRowNumber(Int32) | bool | Verifies if the row number is valid. |
| MergeCells(TableMergedCell) | None | Merges cells for the given area. |
| RefreshData() | bool | Rebuilds the data in this section if it is out of date. |
| RemoveColumn(Int32) | None | Removes a column data at a specified index. |
| RemoveRow(Int32) | None | Removes a row data at a specified index. |
| ResetCellOverride(Int32) | None | Resets the override of the column. |
| ResetCellOverride(Int32, Int32) | None | Resets the override of the cell. |
| SetCellCalculatedValue(Int32, Int32, TableCellCalculatedValueData) | None | Allows the caller to set the calculated value for a specified cell |
| SetCellCalculatedValue(Int32, TableCellCalculatedValueData) | None | Allows the caller to set the calculated value for a specified column |
| SetCellCombinedParameters(Int32, IList<TableCellCombinedParameterData>) | None | Allows the caller to set combined parameter for a specified column |
| SetCellCombinedParameters(Int32, Int32, IList<TableCellCombinedParameterData>) | None | Allows the caller to set combined parameter for a specified cell |
| SetCellFormatOptions(Int32, Int32, FormatOptions) | None | Sets a cell's FormatOptions. |
| SetCellParamIdAndCategoryId(Int32, ElementId, ElementId) | None | Sets a column's category and parameter Id |
| SetCellParamIdAndCategoryId(Int32, Int32, ElementId, ElementId) | None | Sets a cell's category and parameter Id |
| SetCellStyle(Int32, Int32, TableCellStyle) | None | Sets a cell's style |
| SetCellStyle(Int32, TableCellStyle) | None | Sets a column's style. |
| SetCellStyle(TableCellStyle) | None | Sets a section's style |
| SetCellText(Int32, Int32, String) | None | Sets a cell's to display the specified text. |
| SetCellType(Int32, CellType) | None | Sets a column's cell type |
| SetCellType(Int32, Int32, CellType) | None | Sets a cell's Type |
| SetColumnWidthInPixels(Int32, Int32) | None | This sets a column's width in logical pixels |
| SetColumnWidth(Int32, Double) | None | Sets a column's width in feet |
| SetMergedCell(Int32, Int32, TableMergedCell) | None | Sets the merged cell that this cell is a part of. |
| SetRowHeightInPixels(Int32, Int32) | None | This sets a row's height in logical pixels |
| SetRowHeight(Int32, Double) | None | Sets a row's height in feet |
| Name | Return Type | Description |
|---|---|---|
| FirstColumnNumber | int | The first column in this section of the table. |
| FirstRowNumber | int | The first row in this section of the table. |
| HideSection | bool | Whether or not the section is hidden. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| LastColumnNumber | int | The last column in this section of the table. |
| LastRowNumber | int | The last row in this section of the table. |
| NeedsRefresh | bool | Indicates if the table data need to refresh. |
| NumberOfColumns | int | Gets or sets the number of items in column data array. |
| NumberOfRows | int | Gets or sets the number of items in row data array. |