Class SpreadsheetLocker
SpreadsheetLocker class
Low code api to lock spreadsheet file.
public class SpreadsheetLocker
Methods
Name | Description |
---|---|
static Process(LowCodeLoadOptions, LowCodeSaveOptions, AbstractLowCodeProtectionProvider) | Locks spreadsheet file with specified settings. |
static Process(LowCodeLoadOptions, LowCodeSaveOptions, string, string) | Locks spreadsheet file with specified settings. |
static Process(string, string, string, string) | Locks spreadsheet file with specified settings. |
static Process(LowCodeLoadOptions, LowCodeSaveOptions, string, string, string, ProtectionType) | Locks spreadsheet file with specified settings. |
Examples
using System;
using Aspose.Cells;
using Aspose.Cells.LowCode;
namespace AsposeCellsExamples
{
public class LowCodeClassSpreadsheetLockerDemo
{
public static void Run()
{
// Use SpreadsheetLocker to protect the workbook
SpreadsheetLocker.Process("template.xlsx", "locked.xlsx", "mypassword", "mypassword");
}
}
}
See Also
- namespace Aspose.Cells.LowCode
- assembly Aspose.Cells