Class TocGenerator

Class TocGenerator

名称: Aspose.Pdf.Plugins 合計: Aspose.PDF.dll (25.4.0)

Aspose.PDF TocGenerator プラグインを表示します。

public sealed class TocGenerator : IPlugin, IDisposable

Inheritance

object TocGenerator

Implements

IPlugin , IDisposable

相続人

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

Examples

例では、TOC を 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()

実施 IDisposable. 実際には、TocGenerator には必要ありません。

public void Dispose()

Process(IPluginオプション)

PdfGenerator の処理を指定されたパラメーターで開始します。

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

オプション オブジェクトには PdfGenerator の指示が含まれています。

Returns

ResultContainer

ResultContainer オブジェクトには、作業の結果が含まれています。

Exceptions

NotSupportedException

 日本語