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

См. также