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 |
|---|---|---|
| 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 |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetCellStyleOverrideOptions() | TableCellStyleOverrideOptions | Gets cell style override options of this cell. |
| ResetOverride() | None | Resets any overrides applied to this cell. |
| SetCellStyleOverrideOptions(TableCellStyleOverrideOptions) | None | Sets cell style override options of this cell. |
| Name | Return Type | Description |
|---|---|---|
| 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 | bool | 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. |