TableCellStyle
Description:
The TableCellStyle class contains the appearance settings for a given table cell, column, or table.
The TableCellStyle class contains the appearance settings for a given table cell, column, or table.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.TableCellStyle
System.Object
Autodesk.Revit.DB.TableCellStyle
public class TableCellStyle : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| TableCellStyle() | None | Constructs a new TableCellStyle with default settings. | |
| TableCellStyle(TableCellStyle) | None | Constructs a new copy of the input TableCellStyle object. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the TableCellStyle | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetCellStyleOverrideOptions() | TableCellStyleOverrideOptions | Gets cell style override options of this cell. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ResetOverride() | None | Resets any overrides applied to this cell. | |
| SetCellStyleOverrideOptions(TableCellStyleOverrideOptions) | None | Sets cell style override options of this cell. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| BackgroundColor | Color | The background color of this cell in the grid view. | |
| BorderBottomLineStyle | ElementId | The element id (GraphicsStyle element) for the bottom line of the cell border. | |
| BorderLeftLineStyle | ElementId | The element id (GraphicsStyle element) for the left line of the cell border. | |
| BorderRightLineStyle | ElementId | The element id (GraphicsStyle element) for the right line of the cell border. | |
| BorderTopLineStyle | ElementId | The element id (GraphicsStyle element) for the top line of the cell border. | |
| FontHorizontalAlignment | HorizontalAlignmentStyle | The horizontal alignment style of text font. | |
| FontName | string | The font used for this style | |
| FontVerticalAlignment | VerticalAlignmentStyle | The vertical alignment style of text font. | |
| IsEnabled | bool | Gets or sets the status whether this cell is enabled. | |
| IsFontBold | bool | Gets or sets whether the text font is set to bold of this cell. | |
| IsFontItalic | bool | Gets or sets whether the text font is set to italic of this cell. | |
| IsFontUnderline | bool | Gets or sets whether the text font is set to Underline of this cell. | |
| IsInactivePhaseload | bool | Gets or sets whether this is an inactive phase load cell. | |
| IsOverridden | bool | Indicates if the cell is overridden or not. | |
| IsReadOnly | bool | Gets or sets whether this cell is read only. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| SheetBackgroundColor | Color | The background color of this cell in the sheet view. | |
| TextColor | Color | The text color of this cell. | |
| TextOrientation | int | The orientation of the cell (for vertical/horizontal text) with input in degrees multiplied by 10 | |
| TextSize | double | The text size. |