Class PdfConverter
信息
将模板文件转换为PDF的转换器。
public class PdfConverter
继承
继承的成员
- object.ToString(),
- object.Equals(object),
- object.Equals(object, object),
- object.ReferenceEquals(object, object),
- object.GetHashCode(),
- object.GetType(),
- object.MemberwiseClone()
示例
1PdfConverter converter = new PdfConverter();
2LoadOptions loadOptions = new LoadOptions();
3loadOptions.InputFile = "Template.xlsx";
4PdfSaveOptions saveOptions = new PdfSaveOptions();
5saveOptions.OutputFile = "res.pdf";
6converter.Process(loadOptions, saveOptions);
构造函数
PdfConverter()
public PdfConverter()
方法
Process(LoadOptions, PdfSaveOptions)
将模板文件转换为PDF
public void Process(LoadOptions loadOptions, PdfSaveOptions saveOptions)
参数
loadOptions
LoadOptions:用于输入和加载的选项:saveOptions
PdfSaveOptions:用于输出和保存的选项
命名空间:Sheetize 程序集:Sheetize.dll