Class LockerSaveOptions
Info
Options to lock excel files.
public class LockerSaveOptions : SaveOptions
Inheritance
object ← SaveOptions ← LockerSaveOptions
Inherited Members
- SaveOptions.OutputFile,
- SaveOptions.OutputStream,
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Constructors
LockerSaveOptions()
public LockerSaveOptions()
Properties
Password
Password to open the file.
public string Password { get; set; }
Property Value
PasswordOfWriteProtection
Password to modify the file.
public string PasswordOfWriteProtection { get; set; }
Property Value
SettingsOfWorkbookProtection
Protection settings to protect the workbook.
public ProtectionSettings SettingsOfWorkbookProtection { get; set; }
Property Value
SettingsOfWorksheetProtection
The default protection settings used to protect the worksheet.
public ProtectionSettings SettingsOfWorksheetProtection { get; set; }
Property Value
Methods
GetPasswordOfWorksheetProtection(SplitPartInfo)
Gets the protection settings to protect one worksheet.
public virtual ProtectionSettings GetPasswordOfWorksheetProtection(SplitPartInfo info)
Parameters
info
SplitPartInfo: Infomation about current sheet which needs to be protected.
Returns
ProtectionSettings : the protection settings to protect current sheet. By default this method returns the settings specified by Sheetize.LockerSaveOptions.SettingsOfWorksheetProtection. If it is null, current sheet will not be protected.
Namespace: Sheetize Assembly: Sheetize.dll