TableSectionData Class

TableSectionData Class

The TableSectionData class represents a serialized version of an instance of section table data. The class holds row, column and cell data.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBTableSectionData

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public class TableSectionData : IDisposable
Public Class TableSectionData
	Implements IDisposable
public ref class TableSectionData : IDisposable
type TableSectionData = 
    class
        interface IDisposable
    end

The TableSectionData type exposes the following members.

Properties
 NameDescription
Public propertyFirstColumnNumber The first column in this section of the table.
Public propertyFirstRowNumber The first row in this section of the table.
Public propertyHideSection Whether or not the section is hidden.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyLastColumnNumber The last column in this section of the table.
Public propertyLastRowNumber The last row in this section of the table.
Public propertyNeedsRefresh Indicates if the table data need to refresh.
Public propertyNumberOfColumns Gets or sets the number of items in column data array.
Public propertyNumberOfRows Gets or sets the number of items in row data array.
Top
Methods
 NameDescription
Public methodAllowOverrideCellStyle Identifies if the style can be overridden in the given cell.
Public methodCanInsertColumn Verifies if a new column can be inserted at the given index.
Public methodCanInsertRow Verifies if a new row can be inserted at the given index.
Public methodCanRemoveColumn Verifies that if the column at the given index can be removed.
Public methodCanRemoveRow Verifies that if the row at the given index can be removed..
Public methodClearCell Deletes text or image, or removes parameter of this cell.
Public methodDisposeReleases all resources used by the TableSectionData
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetCellCalculatedValue(Int32) Gets the calculated value for the specified column
Public methodGetCellCalculatedValue(Int32, Int32) Gets the calculated value for the specified cell
Public methodGetCellCategoryId(Int32) Returns a column's ParamId Associated with the paramId to find the correct element
Public methodGetCellCategoryId(Int32, Int32) 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.
Public methodGetCellCombinedParameters(Int32) Returns an array of combined parameter data for the specified column
Public methodGetCellCombinedParameters(Int32, Int32) Returns an array of combined parameter data for the specified cell
Public methodGetCellFormatOptions(Int32, Document) Returns a column's cell FormatOptions and if no FormatOptions exists for this column, it would come from the section.
Public methodGetCellFormatOptions(Int32, Int32, Document) 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.
Public methodGetCellParamId(Int32) Returns a column's ParamId
Public methodGetCellParamId(Int32, Int32) Returns a cell's ParamId and if no ParamId exists for this cell, it would come from the column
Public methodGetCellSpec Gets the spec describing values of a cell, if applicable.
Public methodGetCellText Returns the text shown by this cell, if the cell's type is CellType.Text or CellType.ParameterText or CellType.CustomField.
Public methodGetCellType(Int32) Returns a column's cell type and if no type exists for this column, it would come from the section
Public methodGetCellType(Int32, Int32) 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
Public methodGetColumnWidth Returns a column's width in feet
Public methodGetColumnWidthInPixels This returns a column's width in logical pixels
Public methodGetCustomFieldId Gets custom field id from the cell.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMergedCell Gets the whole merged cell that this cell is a part of.
Public methodGetRowHeight Returns a row's height in feet
Public methodGetRowHeightInPixels This returns a row's height in logical pixels
Public methodGetTableCellStyle Returns a cell's style and if no style exists for this cell, it would come from the column, or the section
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInsertColumn Inserts a new column at the specified index relative to the current set of columns.
Public methodInsertImage Inserts a image in the given cell.
Public methodInsertRow Inserts a row data at a specified index.
Public methodIsAcceptableParamIdAndCategoryId(ElementId, ElementId) Identifies if the given parameter id and category id can be assigned to a cell in this table.
Public methodIsAcceptableParamIdAndCategoryId(Int32, ElementId, ElementId) Identifies if the given parameter id and category id can be assigned to a cell in the given row in this table.
Public methodIsCellFormattable Determines whether the cell is formattable or not
Public methodIsCellOverridden(Int32) Indicates if the column is overridden or not.
Public methodIsCellOverridden(Int32, Int32) Indicates if the cell is overridden or not.
Public methodIsDataOutOfDate Indicates whether the data in this section is out of date.
Public methodIsValidColumnNumber Verifies if the column number is valid.
Public methodIsValidImageSymbolId Identifies if the element id represents a valid ImageSymbol element.
Public methodIsValidRowNumber Verifies if the row number is valid.
Public methodMergeCells Merges cells for the given area.
Public methodRefreshData Rebuilds the data in this section if it is out of date.
Public methodRemoveColumn Removes a column data at a specified index.
Public methodRemoveRow Removes a row data at a specified index.
Public methodResetCellOverride(Int32) Resets the override of the column.
Public methodResetCellOverride(Int32, Int32) Resets the override of the cell.
Public methodSetCellCalculatedValue(Int32, TableCellCalculatedValueData) Allows the caller to set the calculated value for a specified column
Public methodSetCellCalculatedValue(Int32, Int32, TableCellCalculatedValueData) Allows the caller to set the calculated value for a specified cell
Public methodSetCellCombinedParameters(Int32, IListTableCellCombinedParameterData) 
Public methodSetCellCombinedParameters(Int32, Int32, IListTableCellCombinedParameterData) 
Public methodSetCellFormatOptions Sets a cell's FormatOptions.
Public methodSetCellParamIdAndCategoryId(Int32, ElementId, ElementId) Sets a column's category and parameter Id
Public methodSetCellParamIdAndCategoryId(Int32, Int32, ElementId, ElementId) Sets a cell's category and parameter Id
Public methodSetCellStyle(TableCellStyle) Sets a section's style
Public methodSetCellStyle(Int32, TableCellStyle) Sets a column's style.
Public methodSetCellStyle(Int32, Int32, TableCellStyle) Sets a cell's style
Public methodSetCellText Sets a cell's to display the specified text.
Public methodSetCellType(Int32, CellType) Sets a column's cell type
Public methodSetCellType(Int32, Int32, CellType) Sets a cell's Type
Public methodSetColumnWidth Sets a column's width in feet
Public methodSetColumnWidthInPixels This sets a column's width in logical pixels
Public methodSetMergedCell Sets the merged cell that this cell is a part of.
Public methodSetRowHeight Sets a row's height in feet
Public methodSetRowHeightInPixels This sets a row's height in logical pixels
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also