Class TableGenerator

Class TableGenerator

名称: Aspose.Pdf.Plugins 集合: Aspose.PDF.dll (25.4.0)

代表 Aspose.PDF TableGenerator 插件。

public sealed class TableGenerator : IPlugin, IDisposable

Inheritance

object TableGenerator

Implements

IPlugin , IDisposable

继承人

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

示例显示如何将表添加到 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);

Constructors

TableGenerator()

public TableGenerator()

Methods

Dispose()

實施 ID 可用. 事實上,它不需要 TableGenerator。

public void Dispose()

Process(IPlugin 选项)

PdfGenerator 以指定的参数开始处理。

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

一个选项对象包含 PdfGenerator 的指示。

Returns

ResultContainer

一个 ResultContainer 对象包含操作的结果。

Exceptions

NotSupportedException

 中文