Class PdfXls
Class PdfXls
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
表示 Aspose.Pdf.Plugins.PdfXls 插件。
public sealed class PdfXls : IPlugin, IDisposable
继承
实现
继承成员
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
示例
该示例演示如何将 PDF 转换为 XLSX 文档。
// 创建 PdfXLS 转换器
var converter = new PdfXLS();
// 创建 PdfToXLSOptions
var opt = new PdfToXLSOptions();
// 添加输入文件路径
opt.AddInput(new FileDataSource(inputPath));
// 设置输出文件路径
opt.AddOutput(new FileDataSource(outputPath));
converter.Process(opt);
构造函数
PdfXls()
public PdfXls()
方法
Dispose()
实现 IDisposable。
public void Dispose()
Process(IPluginOptions)
使用指定参数启动 PdfToExcel 处理。
public ResultContainer Process(IPluginOptions options)
参数
options
IPluginOptions
一个包含 Aspose.Pdf.Plugins.PdfXls 指令的选项对象。
返回
一个包含操作结果的 Aspose.Pdf.Plugins.ResultContainer 对象。