Class TableGenerator
Class TableGenerator
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
Reprezentuje plugin Aspose.PDF TableGenerator.
public sealed class TableGenerator : IPlugin, IDisposable
Dědičnost
Implementuje
Děděné členy
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Příklady
Příklad ukazuje, jak přidat tabulku do PDF souboru.
// vytvořit TableGenerator
var generator = new TableGenerator();
// vytvořit objekt TableOptions pro nastavení instrukcí
var opt = new TableOptions();
// přidat cesty k vstupním souborům
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// nastavit cestu k výstupnímu souboru
opt.AddOutput(new FileDataSource(outputPath));
// provést proces extrakce
generator.Process(opt);
Konstruktor
TableGenerator()
public TableGenerator()
Metody
Dispose()
Implementace IDisposable. Ve skutečnosti není pro TableGenerator nutné.
public void Dispose()
Process(IPluginOptions)
Spustí zpracování PdfGenerator s uvedenými parametry.
public ResultContainer Process(IPluginOptions options)
Parametry
options
IPluginOptions
Objekt s možnostmi obsahuje instrukce pro PdfGenerator.
Návratová hodnota
Objekt ResultContainer obsahuje výsledek operace.