Class TableGenerator

TableGenerator class

Represents Aspose.PDF TableGenerator plugin.

public sealed class TableGenerator : IDisposable, IPlugin

Constructors

NameDescription
TableGenerator()The default constructor.

Methods

NameDescription
Dispose()Implementation of IDisposable. In fact, it is not necessary for TableGenerator.
Process(IPluginOptions)Starts the PdfGenerator processing with the specified parameters.

Examples

The example demonstrates how to add table to PDF file.

// 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);

See Also