Class Html
Class Html
名称: Aspose.Pdf.Plugins 合計: Aspose.PDF.dll (25.4.0)
Aspose.Pdf.Plugins.Html プラグインを表示します。
public sealed class Html : IPlugin, IDisposable
Inheritance
Implements
相続人
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
Aspose.Pdf.Plugins.ResultContainer オブジェクトは、作業の結果を含みます。