Method SetLineWeight
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
SetLineWeight(int, double)
Changes an entry of LineWeights, as Edit Lineweights of the editor does; entry 0 stays "Use object lineweight".
public void SetLineWeight(int index, double millimetres)
Parameters
Exceptions
- ArgumentOutOfRangeException
Thrown when the entry is not 1 up to the last or the lineweight is not above 0 and up to 10.