Class TableGenerator

Class TableGenerator

Nazwa przestrzeń: Aspose.Pdf.Plugins Zgromadzenie: Aspose.PDF.dll (25.4.0)

Przedstawiamy wtyczkę Aspose.PDF TableGenerator.

public sealed class TableGenerator : IPlugin, IDisposable

Inheritance

object TableGenerator

Implements

IPlugin , IDisposable

Dziedziczeni członkowie

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

Examples

Przykład pokazuje, jak dodać tabelę do pliku 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()

Wdrożenie IDisposable. w rzeczywistości nie jest to konieczne dla TableGenerator.

public void Dispose()

Process(Opcje IPlugin)

Rozpoczyna się przetwarzanie PdfGenerator z określonymi parametrami.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Obiekt opcji zawiera instrukcje dla PdfGenerator.

Returns

ResultContainer

Obiekt ResultContainer zawiera wynik operacji.

Exceptions

NotSupportedException

 Polski