Class SpreadsheetUnlocker
Thông tin
Mở khóa tệp bảng tính.
public class SpreadsheetUnlocker
Kế thừa
Các thành viên được kế thừa
- object.ToString(),
- object.Equals(object),
- object.Equals(object, object),
- object.ReferenceEquals(object, object),
- object.GetHashCode(),
- object.GetType(),
- object.MemberwiseClone()
Ví dụ
1SpreadsheetUnlocker processor = new SpreadsheetUnlocker();
2UnlockerLoadOptions loadOptions = new UnlockerLoadOptions();
3loadOptions.InputFile = "Template.xlsx";
4loadOptions.Password = "password to open file";
5SpreadsheetSaveOptions saveOptions = new SpreadsheetSaveOptions();
6saveOptions.OutputFile = "res.xlsx";
7processor.Process(loadOptions, saveOptions);
Các hàm khởi tạo
SpreadsheetUnlocker()
public SpreadsheetUnlocker()
Các phương thức
Process(UnlockerLoadOptions, SpreadsheetSaveOptions)
public void Process(UnlockerLoadOptions loadOptions, SpreadsheetSaveOptions saveOptions)
Các tham số
loadOptions
UnlockerLoadOptions: Tùy chọn cho đầu vào và tải:saveOptions
SpreadsheetSaveOptions: Tùy chọn cho đầu ra và lưu
Namespace: Sheetize Assembly: Sheetize.dll