Class SpreadsheetMerger
Class SpreadsheetMerger
Çeşitli şablon dosyalarını birine yapıştırın.
public class SpreadsheetMerger
Inheritance
mirasçı üyeleri
- object.GetType() ,
- object.MemberwiseClone() ,
- object.ToString() ,
- object.Equals(object?) ,
- object.Equals(object?, object?) ,
- object.ReferenceEquals(object?, object?) ,
- object.GetHashCode()
Examples
[C#]
LoadOptions loadOptions = new LoadOptions();
list.Add(new LoadOptions() { InputFile = "template1.xlsx" });
list.Add(new LoadOptions() { InputFile = "template2.xlsx" });
SpreadsheetSaveOptions saveOptions = new SpreadsheetSaveOptions();
saveOptions.OutputFile = "merged.xlsx";
SpreadsheetMerger.Process(loadOptions, saveOptions,
new string[] { "template2.xlsx", "template2.xlsx", });
Methods
Process(Yükleme seçenekleri, SaveOptions, string[])
public static void Process(LoadOptions loadOptions, SaveOptions saveOptions, string[] files)
Parameters
loadOptions
LoadOptions : Giriş ve yükleme seçenekleri. içeriği(Sheetize.LoadOptions.InputFile veya Sheetize,LoatOption.INputStream): herhangi bir etkiye sahip değildir çünkü tüm girişler “file” parametresi tarafından belirlenir.saveOptions
SaveOptions : Üretim ve tasarruf için seçenekler:files
string []: Birleştirilecek tüm şablon dosyaları
Process(LoadOptions, Savunma Seçenekleri, AbstractLoadoptionsProvider)
public static void Process(LoadOptions loadOptions, SaveOptions saveOptions, AbstractLoadOptionsProvider provider)
Parameters
loadOptions
LoadOptions : Yükleme seçenekleri. onun giriş(Sheetize.LoadOptions.InputFile veya Sheetize,LoatOption.INputStream): tüm girişler " sağlayıcı" parametresi tarafından belirlenir çünkü geçerli değildir.saveOptions
SaveOptions : Üretim ve tasarruf için seçenekler:provider
AbstractLoadOptionsProvider : Birleştirilecek girişleri almak için yükleme seçenekleri sağlayıcısı
İsim alanı : Sheetize Ülke Toplantısı : Sheetize.dll