Class SpreadsheetConverter
Thông tin
Bộ chuyển đổi cho chuyển đổi giữa các định dạng tệp bảng tính khác nhau, chẳng hạn như xls, xlsx, xlsb, ods, spreadsheet ml…
public class SpreadsheetConverter
Kế thừa
Thành viên kế thừa
- object.ToString(),
- object.Equals(object),
- object.Equals(object, object),
- object.ReferenceEquals(object, object),
- object.GetHashCode(),
- object.GetType(),
- object.MemberwiseClone()
Ví dụ
1SpreadsheetConverter converter = new SpreadsheetConverter();
2LoadOptions loadOptions = new LoadOptions();
3loadOptions.InputFile = "Template.xlsx";
4SpreadsheetSaveOptions saveOptions = new SpreadsheetSaveOptions();
5saveOptions.OutputFile = "res.xlsb";
6converter.Process(loadOptions, saveOptions);
Các hàm khởi tạo
SpreadsheetConverter()
public SpreadsheetConverter()
Phương thức
Process(LoadOptions, SpreadsheetSaveOptions)
Chuyển đổi giữa các định dạng tệp bảng tính khác nhau.
public void Process(LoadOptions loadOptions, SpreadsheetSaveOptions saveOptions)
Tham số
loadOptions
LoadOptions: Tùy chọn cho đầu vào và nạp:saveOptions
SpreadsheetSaveOptions: Tùy chọn cho xuất ra và lưu
Namespace: Sheetize Assembly: Sheetize.dll