Method LineWeightOf
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
LineWeightOf(CadPlotStyle)
Gets the millimetres a style plots at: its entry of LineWeights; 0 for "Use object lineweight" or an entry the table lacks.
public double LineWeightOf(CadPlotStyle style)
Parameters
styleCadPlotStyleThe style.
Returns
- double
The lineweight in millimetres, 0 where the object's own is used.
Exceptions
- ArgumentNullException
Thrown when the style is null.