Table of Contents

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

.NET

@property
def Data(self) -> CadTableCellStyleSettings

Gets the data's cell style.

Description

.NET

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

Gets or sets the description.

FlowDirection

.NET

@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.

.NET

@property
def Header(self) -> CadTableCellStyleSettings

Gets the header's cell style.

HorizontalMargin

.NET

@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

.NET

@property
def Title(self) -> CadTableCellStyleSettings

Gets the title's cell style.

VerticalMargin

.NET

@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

.NET

def Cell(self, rowType: DxfRowType) -> CadTableCellStyleSettings

Gets the cell style of a kind of row.

Of

.NET

@staticmethod
def Of(style: DxfTableStyle) -> CadTableStyleSettings

Reads the settings of a style.

SameAs

.NET

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

Gets whether two settings write the same style.