Class SpreadsheetSplitter

Thông tin

Chia tệp bảng tính thành nhiều phần.

public class SpreadsheetSplitter  

Kế thừa

object
SpreadsheetSplitter

Các thành viên kế thừa

Ví dụ

 1  
 2
 3private class MySplitterSaveOptions : SplitterSaveOptions  
 4{  
 5    private const string ResultBase = "result/splitter/";  
 6    public override Stream GetStream(int sn)  
 7    {  
 8        return File.Create(ResultBase + "part_" + sn + ".xlsx");  
 9    }  
10}  
11SpreadsheetSplitter splitter = new SpreadsheetSplitter();  
12LoadOptions loadOptions = new LoadOptions();  
13loadOptions.InputFile = "Template.xlsx";  
14MySplitterSaveOptions saveOptions = new MySplitterSaveOptions();  
15splitter.Process(loadOptions, saveOptions);  

Các hàm khởi tạo

SpreadsheetSplitter()

public SpreadsheetSplitter()  

Phương thức

Process(LoadOptions, SplitterSaveOptions)

public void Process(LoadOptions loadOptions, SplitterSaveOptions saveOptions)  

Tham số

Namespace: Sheetize
Assembly: Sheetize.dll

 Tiếng Việt