Table of Contents

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

document CadDocument

The document.

name string

The layer's name.

frozen bool

Whether it is to be frozen.

Returns

CadEditResult

What came of it.