06/12/2012

Locking the layer through .NET

Each layer (layer table record) exposes “IsLocked” property. You can set the “IsLocked” to true to lock the layer. Below code shows the procedure to so the same. Below code to work, there should be layer called “Test” in the document.

Comments

Each layer (layer table record) exposes “IsLocked” property. You can set the “IsLocked” to true to lock the layer. Below code shows the procedure to so the same. Below code to work, there should be layer called “Test” in the document.