Method SetFrozen
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
SetFrozen(CadDocument, string, bool)
Freezes or thaws a layer; the current layer is not frozen, as AutoCAD refuses it.
public static CadEditResult SetFrozen(CadDocument document, string name, bool frozen)
Parameters
documentCadDocumentThe document.
namestringThe layer's name.
frozenboolWhether it is to be frozen.
Returns
- CadEditResult
What came of it.