Class TableGenerator
Class TableGenerator
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
Reprezentuje wtyczkę Aspose.PDF TableGenerator.
public sealed class TableGenerator : IPlugin, IDisposable
Dziedziczenie
Implementuje
Członkowie dziedziczeni
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Przykłady
Przykład ilustruje, jak dodać tabelę do pliku PDF.
// utwórz TableGenerator
var generator = new TableGenerator();
// utwórz obiekt TableOptions, aby ustawić instrukcje
var opt = new TableOptions();
// dodaj ścieżki plików wejściowych
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// ustaw ścieżkę pliku wyjściowego
opt.AddOutput(new FileDataSource(outputPath));
// wykonaj proces ekstrakcji
generator.Process(opt);
Konstruktory
TableGenerator()
public TableGenerator()
Metody
Dispose()
Implementacja IDisposable. W rzeczywistości nie jest to konieczne dla TableGenerator.
public void Dispose()
Process(IPluginOptions)
Rozpoczyna przetwarzanie PdfGenerator z określonymi parametrami.
public ResultContainer Process(IPluginOptions options)
Parametry
options
IPluginOptions
Obiekt opcji zawiera instrukcje dla PdfGenerator.
Zwraca
Obiekt ResultContainer zawiera wynik operacji.