Table of Contents

Method CreateCellStyle

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CreateCellStyle(CadDocument, string, string, string)

Makes a cell style of a table style, as Create New Cell Style does: of the name given, starting from the look of one of the style's. One undo step.

public static CadEditResult CreateCellStyle(CadDocument document, string tableStyleName, string name, string startWith)

Parameters

document CadDocument

The document.

tableStyleName string

The name of the table style.

name string

The name of the new cell style.

startWith string

The cell style it starts from: Title, Header, Data or a user's.

Returns

CadEditResult

What came of it; refused for a name that is empty or taken, or a table style or start that is none.