2026 Class
Changes 3
C

TableSectionData

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