Skip to content

TableSectionData

Public 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

System.Object
Autodesk.Revit.DB.TableSectionData

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class TableSectionData : IDisposable

The TableSectionData type exposes the following members.

Properties

Name

Description


Public Property
FirstColumnNumber

The first column in this section of the table.


Public Property
FirstRowNumber

The first row in this section of the table.


Public Property

Whether or not the section is hidden.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The last column in this section of the table.


Public Property

The last row in this section of the table.


Public Property

Indicates if the table data need to refresh.


Public Property
NumberOfColumns

Gets or sets the number of items in column data array.


Public Property
NumberOfRows

Gets or sets the number of items in row data array.


Methods

Name

Description


Public Method

Identifies if the style can be overridden in the given cell.


Public Method

Verifies if a new column can be inserted at the given index.


Public Method

Verifies if a new row can be inserted at the given index.


Public Method

Verifies that if the column at the given index can be removed.


Public Method

Verifies that if the row at the given index can be removed..


Public Method

Deletes text or image, or removes parameter of this cell.


Public Method

Releases all resources used by the TableSectionData


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

Gets the calculated value for the specified column


Public Method

Gets the calculated value for the specified cell


Public Method

Returns a column’s ParamId Associated with the paramId to find the correct element


Public Method

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 Method

Returns an array of combined parameter data for the specified column


Public Method

Returns an array of combined parameter data for the specified cell


Public Method

Returns a column’s cell FormatOptions and if no FormatOptions exists for this column, it would come from the section.


Public Method

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 Method

Returns a column’s ParamId


Public Method

Returns a cell’s ParamId and if no ParamId exists for this cell, it would come from the column


Public Method

Gets the spec describing values of a cell, if applicable.


Public Method
GetCellText

Returns the text shown by this cell, if the cell’s type is CellType.Text or CellType.ParameterText or CellType.CustomField.


Public Method

Returns a column’s cell type and if no type exists for this column, it would come from the section


Public Method

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 Method

Returns a column’s width in feet


Public Method

This returns a column’s width in logical pixels


Public Method

Gets custom field id from the cell.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

Gets the whole merged cell that this cell is a part of.


Public Method

Returns a row’s height in feet


Public Method

This returns a row’s height in logical pixels


Public Method

Returns a cell’s style and if no style exists for this cell, it would come from the column, or the section


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Inserts a new column at the specified index relative to the current set of columns.


Public Method

Inserts a image in the given cell.


Public Method
Code Example

Inserts a row data at a specified index.


Public Method

Identifies if the given parameter id and category id can be assigned to a cell in this table.


Public Method

Identifies if the given parameter id and category id can be assigned to a cell in the given row in this table.


Public Method

Determines whether the cell is formattable or not


Public Method

Indicates if the column is overridden or not.


Public Method

Indicates if the cell is overridden or not.


Public Method
IsDataOutOfDate

Indicates whether the data in this section is out of date.


Public Method

Verifies if the column number is valid.


Public Method

Identifies if the element id represents a valid ImageSymbol element.


Public Method

Verifies if the row number is valid.


Public Method

Merges cells for the given area.


Public Method

Rebuilds the data in this section if it is out of date.


Public Method

Removes a column data at a specified index.


Public Method

Removes a row data at a specified index.


Public Method

Resets the override of the column.


Public Method

Resets the override of the cell.


Public Method

Allows the caller to set the calculated value for a specified column


Public Method

Allows the caller to set the calculated value for a specified cell


Public Method

Allows the caller to set combined parameter for a specified column


Public Method

Allows the caller to set combined parameter for a specified cell


Public Method

Sets a cell’s FormatOptions.


Public Method

Sets a column’s category and parameter Id


Public Method

Sets a cell’s category and parameter Id


Public Method
SetCellStyle(TableCellStyle)

Sets a section’s style


Public Method

Sets a column’s style.


Public Method
Code Example
SetCellStyle(Int32, Int32, TableCellStyle)

Sets a cell’s style


Public Method
SetCellText

Sets a cell’s to display the specified text.


Public Method

Sets a column’s cell type


Public Method

Sets a cell’s Type


Public Method

Sets a column’s width in feet


Public Method

This sets a column’s width in logical pixels


Public Method

Sets the merged cell that this cell is a part of.


Public Method

Sets a row’s height in feet


Public Method

This sets a row’s height in logical pixels


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)