Class TableGenerator

TableGenerator 类

表示 Aspose.PDF TableGenerator 插件。

public sealed class TableGenerator : IDisposable, IPlugin

构造函数

名称描述
TableGenerator()默认构造函数。

方法

名称描述
Dispose()IDisposable 的实现。实际上,对于 TableGenerator 来说并不是必需的。
Process(IPluginOptions)使用指定参数开始 PdfGenerator 处理。

示例

该示例演示如何将表添加到 PDF 文件中。

// create TableGenerator
var generator = new TableGenerator();
// create TableOptions object to set instructions
var opt = new TableOptions();
// add input file paths
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
// perform extraction process
generator.Process(opt);

另请参阅