Table of Contents

Method Add

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Add(CadDocument, string, string)

Adds a style, as New of the Table Style dialog: a copy of the settings of another (Start With), under a name no style of the drawing has, letters of either case the same; the dictionary ACAD_TABLESTYLE made where the drawing has none, and the named object dictionary first where the drawing was written without it.

public static CadEditResult Add(CadDocument document, string name, string from)

Parameters

document CadDocument

The document.

name string

The new name, as OC_SCHEDULE.

from string

The style whose settings it takes; AutoCAD's Standard of the drawing's units where null or none.

Returns

CadEditResult

What came of it.