Class LockerSaveOptions
Class LockerSaveOptions
Optioner til at låse Excel-filer.
public class LockerSaveOptions : SaveOptionsInheritance
object ← SaveOptions ← LockerSaveOptions
De arvede medlemmer
- 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 til at åbne filen.
public string Password { get; set; }Ejendomsværdi
PasswordOfWriteProtection
Password til at ændre filen.
public string PasswordOfWriteProtection { get; set; }Ejendomsværdi
SettingsOfWorkbookProtection
Beskyttelsesindstillinger for at beskytte arbejdsbogen.
public ProtectionSettings SettingsOfWorkbookProtection { get; set; }Ejendomsværdi
SettingsOfWorksheetProtection
De standardbeskyttelsesindstillinger, der bruges til at beskytte værktøjet.
public ProtectionSettings SettingsOfWorksheetProtection { get; set; }Ejendomsværdi
Methods
GetPasswordOfWorksheetProtection(SplitPartInfo)
Få beskyttelsesindstillingerne til at beskytte en enkelt værktøj.
public virtual ProtectionSettings GetPasswordOfWorksheetProtection(SplitPartInfo info)Parameters
infoSplitPartInfo : Information om nuværende ark, der skal beskyttes.
Returns
ProtectionSettings : : beskyttelsesindstillinger til at beskytte det nuværende blad.Som standard returnerer denne metode de indstillinger, der er angivet af Sheetize.LockerSaveOptions.SettingsOfWorksheetProtection.Hvis det er nul, vil den nuværende liste ikke blive beskyttet.
Navne til: Sheetize Mødet af forsamlingen: Sheetize.dll