/// <summary> /// Sets the sheet protection options for the file. /// </summary> /// <param name="value">Protection options.</param> public void SetSheetProtectionOptions(TSheetProtectionOptions value) { FXls.SheetProtectionOptions = value; }
/// <summary> /// Protects a sheet. On Excel goto Protect->Sheet to check it. /// </summary> /// <param name="sheetPassword">Password to protect the active sheet. You can set it to null to clear it.</param> /// <param name="sheetProtectionOptions">The options to protect.</param> public void SetSheetProtection(string sheetPassword, TSheetProtectionOptions sheetProtectionOptions) { FXls.SetSheetProtection(sheetPassword, sheetProtectionOptions); }