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

Всъщност, това не е необходимо за TableGenerator.

public void Dispose()

Process(IPlugin опции)

Започва обработката на PdfGenerator с посочените параметри.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Обектът за опции съдържа инструкции за PdfGenerator.

Returns

ResultContainer

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

Exceptions

NotSupportedException

 Български