Class TableGenerator

Classe TableGenerator

Représente le plugin TableGenerator d’Aspose.PDF.

public sealed class TableGenerator : IDisposable, IPlugin

Constructeurs

NomDescription
TableGenerator()Le constructeur par défaut.

Méthodes

NomDescription
Dispose()Implémentation de IDisposable. En fait, ce n’est pas nécessaire pour TableGenerator.
Process(IPluginOptions)Démarre le traitement de PdfGenerator avec les paramètres spécifiés.

Exemples

L’exemple démontre comment ajouter un tableau à un fichier 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);

Voir aussi