Table of Contents

Method Add

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Add(CadDocument, string, string, IDictionary<string, object>)

Adds a style, as the Manager's New: a copy of another's variables (Start With), under a name no style of the drawing has.

public static CadEditResult Add(CadDocument document, string name, string from, IDictionary<string, object> values)

Parameters

document CadDocument

The document.

name string

The new name, as "Copy of ISO-25".

from string

The style it starts with.

values IDictionary<string, object>

The variables it is given over those it starts with, as the New dialog's Continue sets them; null for none.

Returns

CadEditResult

What came of it.