Class TableGenerator

Class TableGenerator

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

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

public sealed class TableGenerator : IPlugin, IDisposable

Héritage

objectTableGenerator

Implémente

IPlugin, IDisposable

Membres hérités

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

Exemples

L’exemple démontre comment ajouter un tableau à un fichier PDF.

// créer TableGenerator
var generator = new TableGenerator();
// créer un objet TableOptions pour définir les instructions
var opt = new TableOptions();
// ajouter des chemins de fichiers d'entrée
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// définir le chemin du fichier de sortie
opt.AddOutput(new FileDataSource(outputPath));
// effectuer le processus d'extraction
generator.Process(opt);

Constructeurs

TableGenerator()

public TableGenerator()

Méthodes

Dispose()

Implémentation de IDisposable. En fait, cela n’est pas nécessaire pour TableGenerator.

public void Dispose()

Process(IPluginOptions)

Démarre le traitement du PdfGenerator avec les paramètres spécifiés.

public ResultContainer Process(IPluginOptions options)

Paramètres

options IPluginOptions

Un objet d’options contenant des instructions pour le PdfGenerator.

Retourne

ResultContainer

Un objet ResultContainer contenant le résultat de l’opération.

Exceptions

NotSupportedException

 Français