Class PdfHtml

Class PdfHtml

이름 공간 : Aspose.Pdf.Plugins 모임: Aspose.PDF.dll

Aspose.Pdf.Plugins.PdfHtml 플러그인을 나타냅니다.

public sealed class PdfHtml : IPlugin, IDisposable

Inheritance

object PdfHtml

Implements

IPlugin , IDisposable

상속 회원들

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

Examples

예제는 PDF를 HTML 문서로 변환하는 방법을 보여줍니다.

// create PdfHtml
var converter = new PdfHtml();
// 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 PdfHtml
var converter = new PdfHtml();
// 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

PdfHtml()

public PdfHtml()

Methods

Dispose()

IDISPOSIBLE의 실행

public void Dispose()

Process(IPlugin옵션)

Aspose.Pdf.Plugins.PdfHtml 처리가 지정된 매개 변수로 시작됩니다.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Aspose.Pdf.Plugins.PdfHtml에 대한 지침을 포함하는 옵션 개체.

Returns

ResultContainer

작업 결과를 포함하는 Aspose.Pdf.Plugins.ResultContainer 개체.

 한국어