Class Html

Class Html

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

Aspose.Pdf.Plugins.Html プラグインを表示します。

public sealed class Html : IPlugin, IDisposable

Inheritance

object Html

Implements

IPlugin , IDisposable

相続人

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

Examples

例では、PDFをHTMLドキュメントに変換する方法を示しています。

// create Html
var converter = new Html();
// create PdfToHtmlOptions object to set output data type as file with embedded resources
var opt = new PdfToHtmlOptions(PdfToHtmlOptions.SaveDataType.FileWithEmbeddedResources);
// add input file path
opt.AddInput(new FileDataSource(inputPath));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
converter.Process(opt);

例では、HTMLをPDFドキュメントに変換する方法を示しています。

// create Html
var converter = new Html();
// create HtmlToPdfOptions
var opt = new HtmlToPdfOptions();
// add input file path
opt.AddInput(new FileDataSource(inputPath));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
converter.Process(opt);

Constructors

Html()

public Html()

Methods

Dispose()

IDISPOSIBLEの実施

public void Dispose()

Process(IPluginオプション)

Aspose.Pdf.Plugins.Html の処理は、指定されたパラメーターで開始されます。

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Aspose.Pdf.Plugins.Html の指示を含むオプションオブジェクト。

Returns

ResultContainer

Aspose.Pdf.Plugins.ResultContainer オブジェクトは、作業の結果を含みます。

 日本語