Method SetOn
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
SetOn(CadDocument, string, bool)
Switches a layer on or off; the current layer may be switched off, as in AutoCAD.
public static CadEditResult SetOn(CadDocument document, string name, bool on)
Parameters
documentCadDocumentThe document.
namestringThe layer's name.
onboolWhether it is to be on.
Returns
- CadEditResult
What came of it.