Table of Contents

CadTableCellStyleSettings

from OpenCAD2D import CadTableCellStyleSettings

class CadTableCellStyleSettings(System.Object) ยท CadTableCellStyleSettings in the .NET reference

What the Modify Table Style dialog sets of one cell style of a table style, the title's, the header's or the data's: its fill, alignment, text style, height and colour, and the lineweight, colour and showing of its six grid lines, top, inside and bottom across and left, inside and right down.

Constructors

__init__

def __init__(self) -> None

Properties and fields

Alignment

.NET

@property
def Alignment(self) -> DxfCellAlignment
@Alignment.setter
def Alignment(self, value: DxfCellAlignment) -> None

Gets or sets where the content of a cell stands.

DataType

.NET

@property
def DataType(self) -> DxfDataType
@DataType.setter
def DataType(self, value: DxfDataType) -> None

Gets or sets the kind of value the cells hold (group 90): general unless a Table Cell Format was chosen.

FillColor

.NET

@property
def FillColor(self) -> DxfColor | None
@FillColor.setter
def FillColor(self, value: DxfColor | None) -> None

Gets or sets the colour the cells are filled with; null for none.

Format

.NET

@property
def Format(self) -> str
@Format.setter
def Format(self, value: str | None) -> None

Gets or sets the format string of the cells (group 1), as the Table Cell Format dialog writes it; empty for none.

LineColors

.NET

@property
def LineColors(self) -> System.Array[DxfColor]

Gets the colour of each of the six lines.

LineWeights

.NET

@property
def LineWeights(self) -> System.Array[DxfLineWeight]

Gets the lineweight of each of the six lines, in the order of DxfGridLineType's flags.

LinesShown

.NET

@property
def LinesShown(self) -> System.Array[bool]

Gets whether each of the six lines is drawn.

TextColor

.NET

@property
def TextColor(self) -> DxfColor
@TextColor.setter
def TextColor(self, value: DxfColor | None) -> None

Gets or sets the colour of the text: of the index, by layer or by block.

TextHeight

.NET

@property
def TextHeight(self) -> float
@TextHeight.setter
def TextHeight(self, value: float) -> None

Gets or sets the height of the text.

TextStyle

.NET

@property
def TextStyle(self) -> str
@TextStyle.setter
def TextStyle(self, value: str | None) -> None

Gets or sets the name of the text style.

UnitType

.NET

@property
def UnitType(self) -> DxfUnitType
@UnitType.setter
def UnitType(self, value: DxfUnitType) -> None

Gets or sets the unit of the value the cells hold (group 91).

Methods

SameAs

.NET

def SameAs(self, other: CadTableCellStyleSettings) -> bool

Gets whether two settings write the same cell style.