Ejemplo n.º 1
0
 /// <summary>
 /// Sets the change history protection options for a file.
 /// </summary>
 /// <param name="value">Protection options.</param>
 public void SetSharedWorkbookProtectionOptions(TSharedWorkbookProtectionOptions value)
 {
     FXls.SharedWorkbookProtectionOptions = value;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Protects the change history from being removed. On Excel goto Protect->Protect Shared Workbook to check it.
 /// </summary>
 /// <param name="sharedWorkbookPassword">Password to protect this setting. You can set it to null to clear it.</param>
 /// <param name="sharedWorkbookProtectionOptions">The options to protect.</param>
 public void SetSharedWorkbookProtection(string sharedWorkbookPassword, TSharedWorkbookProtectionOptions sharedWorkbookProtectionOptions)
 {
     FXls.SetSharedWorkbookProtection(sharedWorkbookPassword, sharedWorkbookProtectionOptions);
 }