ProtectionType.All does not work as intended in v. 22.4.0

I’m trying to protect a workbook using ProtectionType.All but the workbook is not protected. I can still change cell content.

Sample code:

var workbook = new Workbook();
workbook.Protect(ProtectionType.All, "Test");
workbook.Save(@"C:\Temp\AsposeCellTest.xlsx", Aspose.Cells.SaveFormat.Xlsx);

@tfranzoin,

It will only protect Structure and Windows.

To protect data or objects inside worksheet, you need to protect worksheet, see the document for your reference.