Class TableGenerator

Class TableGenerator

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

Represents Aspose.PDF TableGenerator plugin.

public sealed class TableGenerator : IPlugin, IDisposable

Inheritance

objectTableGenerator

Implements

IPlugin, IDisposable

Inherited Members

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

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

Constructors

TableGenerator()

public TableGenerator()

Methods

Dispose()

Implementation of IDisposable. In fact, it is not necessary for TableGenerator.

public void Dispose()

Process(IPluginOptions)

Starts the PdfGenerator processing with the specified parameters.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

An options object contains instructions for the PdfGenerator.

Returns

ResultContainer

An ResultContainer object contains the result of the operation.

Exceptions

NotSupportedException

 English