[Layer.Lock method Locks the layer. public void Lock() See Also class Layer namespace Aspose.Pdf assembly Aspose.PDF]