解决锁定图层,图形不淡显的问题

锁定/解锁图层:

public static void LockLayer(LayerTableRecord layer, Document doc)
{
using (var trans = doc.TransactionManager.StartTransaction())
{
layer.UpgradeOpen();
layer.IsLock = true;
trans.Commit();
}
}


doc.Editor.Regen();


layer.IsOff = layer.IsOff;

上一篇:Xshell_Using X11 forwarding


下一篇:关联分析