Method Write
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Write(DxfDatabase, DxfDimStyleTableRecord, IDictionary<string, object>)
Writes variables into a style of a drawing, each that differs, by their names (VariableNames): a name of an
arrowhead, text style or linetype is taken to its record in the drawing, an arrowhead's block made where it is AutoCAD's,
and a text style or linetype the drawing has not gives the variable no record. A value is the kind the variable is (a
double for Dimtxt, a bool for Dimtix, a string for Dimtxsty).
public static void Write(DxfDatabase database, DxfDimStyleTableRecord style, IDictionary<string, object> values)
Parameters
databaseDxfDatabaseThe drawing the style is in.
styleDxfDimStyleTableRecordThe style, a record of that drawing.
valuesIDictionary<string, object>The variables by name; one the style has not is left out.
Exceptions
- ArgumentException
Thrown when the library refuses a value, as a negative
Dimtxt.