Class SpreadsheetLocker
名称: Aspose.Cells.LowCode 收藏: Aspose.Cells.dll (25.5.0)
低代码 API 锁定 spreadsheet 文件
public class SpreadsheetLockerInheritance
Examples
SpreadsheetLocker.Process("template.xlsx", "locked.xlsx", "mypassword", "mypassword");
Methods
Process(字符串、字符串、字符串)
锁定分布式文件与指定的设置。
public static void Process(string templateFile, string resultFile, string openPassword, string writePassword)Parameters
templateFile string
模板文件要锁定
resultFile string
结果文件
openPassword string
密码文件加密
writePassword string
密码保护修改扩展表
Process(LowCodeLoadOptions, 低代码Save选项, 一条,一条)
锁定分布式文件与指定的设置。
public static void Process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, string openPassword, string writePassword)Parameters
loadOptions LowCodeLoadOptions
输入和加载的选项
saveOptions LowCodeSaveOptions
生产和储蓄的选项
openPassword string
密码文件加密
writePassword string
密码保护修改扩展表
Process(LowCodeLoadOptions, 低代码Save 选项, 一条线,一条绳,一条线、保护类型)
锁定分布式文件与指定的设置。
public static void Process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, string openPassword, string writePassword, string workbookPassword, ProtectionType workbookType)Parameters
loadOptions LowCodeLoadOptions
输入和加载的选项
saveOptions LowCodeSaveOptions
生产和储蓄的选项
openPassword string
密码文件加密
writePassword string
密码保护修改扩展表
workbookPassword string
工作簿保护密码
workbookType ProtectionType
保护工作簿的保护类型
Process(LowCodeLoadOptions, 低代码保留选项, AbstractLowCodProtectionProvider)
锁定分布式文件与指定的设置。
public static void Process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, AbstractLowCodeProtectionProvider provider)Parameters
loadOptions LowCodeLoadOptions
输入和加载的选项
saveOptions LowCodeSaveOptions
生产和储蓄的选项
provider AbstractLowCodeProtectionProvider
实现提供保护设置的实施