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
documentCadDocumentThe document.
namestringThe new name, as "Copy of ISO-25".
fromstringThe style it starts with.
valuesIDictionary<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.