Class TextConverter
信息
用于在基于文本的格式(csv、markdown、dif…)和其他电子表格文件格式之间转换的转换器。
public class TextConverter
继承
继承成员
- object.ToString(),
- object.Equals(object),
- object.Equals(object, object),
- object.ReferenceEquals(object, object),
- object.GetHashCode(),
- object.GetType(),
- object.MemberwiseClone()
示例
1TextConverter converter = new TextConverter();
2LoadOptions loadOptions = new LoadOptions();
3loadOptions.InputFile = "Template.csv";
4TextSaveOptions saveOptions = new TextSaveOptions();
5saveOptions.OutputFile = "res.xlsx";
6converter.Process(loadOptions, saveOptions);
构造函数
TextConverter()
public TextConverter()
方法
Process(LoadOptions, TextSaveOptions)
在基于文本的格式和其他电子表格文件格式之间转换文件格式
public void Process(LoadOptions loadOptions, TextSaveOptions saveOptions)
参数
loadOptions
LoadOptions: 输入和加载的选项:saveOptions
TextSaveOptions: 输出和保存的选项
命名空间: Sheetize 程序集: Sheetize.dll