Method Lineweight
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Lineweight(string, DxfLineWeight, Func<DxfLineWeight, string>)
Makes a row for a lineweight, written as the palette writes one (ByLayer, ByBlock, Default, or 0.25 mm) and read the same way; the window offers AutoCAD's widths. Text that does not read is refused with the palette's own words and the setter is not called.
public static CadPropertyRow Lineweight(string label, DxfLineWeight lineweight, Func<DxfLineWeight, string> setter)
Parameters
labelstringThe label.
lineweightDxfLineWeightThe lineweight.
setterFunc<DxfLineWeight, string>What changes the lineweight; null for a row that is only read.
Returns
- CadPropertyRow
The row.