Class PdfGenerator
Contents
[
Hide
]PdfGenerator class
Represents PdfGenerator plugin.
public sealed class PdfGenerator : IDisposable, IPlugin
Constructors
Name | Description |
---|---|
PdfGenerator() | The default constructor. |
Methods
Name | Description |
---|---|
Dispose() | Implementation of IDisposable. In fact, it is not necessary for PdfGenerator. |
Process(IPluginOptions) | Starts the PdfGenerator processing with the specified parameters. |
Examples
The example demonstrates how to add table to PDF file.
// create PdfGenerator
var generator = new PdfGenerator();
// create PdfGeneratorTableOptions object to set instructions
var opt = new PdfGeneratorTableOptions();
// add input file paths
opt.AddDataSource(new FileDataSource(inputPath1));
opt.AddDataSource(new FileDataSource(inputPath2));
// set output file path
opt.AddSaveDataSource(new FileDataSource(outputPath));
// perform extraction process
generator.Process(opt);
See Also
- interface IPlugin
- namespace Aspose.Pdf.Plugins
- assembly Aspose.PDF