CadTableStyleSettings
from OpenCAD2D import CadTableStyleSettings
class CadTableStyleSettings(System.Object) ยท CadTableStyleSettings in the .NET reference
What the Modify Table Style dialog sets of a table style: its description, which way its rows run, the margins of its cells, and its three cell styles, the title, the header and the data.
Constructors
__init__
def __init__(self) -> None
Properties and fields
Data
@property
def Data(self) -> CadTableCellStyleSettings
Gets the data's cell style.
Description
@property
def Description(self) -> str
@Description.setter
def Description(self, value: str | None) -> None
Gets or sets the description.
FlowDirection
@property
def FlowDirection(self) -> DxfFlowDirection
@FlowDirection.setter
def FlowDirection(self, value: DxfFlowDirection) -> None
Gets or sets which way the rows run from the title: down, or up.
Header
@property
def Header(self) -> CadTableCellStyleSettings
Gets the header's cell style.
HorizontalMargin
@property
def HorizontalMargin(self) -> float
@HorizontalMargin.setter
def HorizontalMargin(self, value: float) -> None
Gets or sets the margin left and right of a cell's content.
Title
@property
def Title(self) -> CadTableCellStyleSettings
Gets the title's cell style.
VerticalMargin
@property
def VerticalMargin(self) -> float
@VerticalMargin.setter
def VerticalMargin(self, value: float) -> None
Gets or sets the margin above and below a cell's content.
Methods
Cell
def Cell(self, rowType: DxfRowType) -> CadTableCellStyleSettings
Gets the cell style of a kind of row.
Of
@staticmethod
def Of(style: DxfTableStyle) -> CadTableStyleSettings
Reads the settings of a style.
SameAs
def SameAs(self, other: CadTableStyleSettings) -> bool
Gets whether two settings write the same style.