Class SpreadsheetSplitter
Info
Teilt eine Excel-Datei in mehrere Teile.
public class SpreadsheetSplitter
Vererbung
Vererbte Mitglieder
- object.ToString(),
- object.Equals(object),
- object.Equals(object, object),
- object.ReferenceEquals(object, object),
- object.GetHashCode(),
- object.GetType(),
- object.MemberwiseClone()
Beispiele
1private class MySplitterSaveOptions : SplitterSaveOptions
2{
3 private const string ResultBase = "result/splitter/";
4 public override Stream GetStream(int sn)
5 {
6 return File.Create(ResultBase + "part_" + sn + ".xlsx");
7 }
8}
9SpreadsheetSplitter splitter = new SpreadsheetSplitter();
10LoadOptions loadOptions = new LoadOptions();
11loadOptions.InputFile = "Template.xlsx";
12MySplitterSaveOptions saveOptions = new MySplitterSaveOptions();
13splitter.Process(loadOptions, saveOptions);
Konstruktoren
SpreadsheetSplitter()
public SpreadsheetSplitter()
Methoden
Process(LoadOptions, SplitterSaveOptions)
public void Process(LoadOptions loadOptions, SplitterSaveOptions saveOptions)
Parameter
loadOptions
LoadOptions: Optionen für Eingabe und Laden:saveOptions
SplitterSaveOptions: Optionen für Ausgabe und Speichern
Namespace: Sheetize Assembly: Sheetize.dll