Class TableGenerator

Class TableGenerator

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

Представляет плагин Aspose.PDF TableGenerator.

public sealed class TableGenerator : IPlugin, IDisposable

Наследование

objectTableGenerator

Реализует

IPlugin, IDisposable

Унаследованные члены

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

Примеры

Пример демонстрирует, как добавить таблицу в PDF файл.

// создать TableGenerator
var generator = new TableGenerator();
// создать объект TableOptions для установки инструкций
var opt = new TableOptions();
// добавить пути к входным файлам
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// установить путь к выходному файлу
opt.AddOutput(new FileDataSource(outputPath));
// выполнить процесс извлечения
generator.Process(opt);

Конструкторы

TableGenerator()

public TableGenerator()

Методы

Dispose()

Реализация IDisposable. На самом деле, это не обязательно для TableGenerator.

public void Dispose()

Process(IPluginOptions)

Запускает процесс PdfGenerator с указанными параметрами.

public ResultContainer Process(IPluginOptions options)

Параметры

options IPluginOptions

Объект опций, содержащий инструкции для PdfGenerator.

Возвращает

ResultContainer

Объект ResultContainer содержит результат операции.

Исключения

NotSupportedException

 Русский