Class TocGenerator

Class TocGenerator

Pôvodný názov: Aspose.Pdf.Plugins Zhromaždenie: Aspose.PDF.dll (25.4.0)

Predstavuje Aspose.PDF TocGenerator plugin.

public sealed class TocGenerator : IPlugin, IDisposable

Inheritance

object TocGenerator

Implements

IPlugin , IDisposable

Z dedičných členov

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

Examples

Príklad ukazuje, ako pridať TOC do súboru PDF.

// create TocGenerator
var generator = new TocGenerator();
// create TocOptions object to set instructions
var opt = new TocOptions();
// 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);

Constructors

TocGenerator()

public TocGenerator()

Methods

Dispose()

Vykonávanie IDisposable. v skutočnosti, to nie je potrebné pre TocGenerator.

public void Dispose()

Process(IPluginopcie)

Začína sa spracovanie PdfGenerator so špecifikovanými parametrami.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Objekt možnosti obsahuje pokyny pre PdfGenerator.

Returns

ResultContainer

Objekt ResultContainer obsahuje výsledok operácie.

Exceptions

NotSupportedException

 Slovenčina