Locking a Column in ASPOSE sheet version 2.1

I am using ASPOSE and I want to lock few columnd of the sheet, how can I do so? I am not geting StyleFlag Locked property.
This message was posted using Page2Forum from Protecting Worksheets - Aspose.Cells for .NET and Java

Hi,

Which version you are using of Aspose.Cells for .NET, please try the attached version (4.6.0.11) as the StyleFlag is there with the Locked attribute.

And kindly check the doc topic: http://www.aspose.com/documentation/file-format-components/aspose.cells-for-.net-and-java/protecting-worksheets.html which provides all the details how you can lock a column / row or a range of cells etc.

Thank you.