Class PdfHtml
Class PdfHtml
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
Aspose.Pdf.Plugins.PdfHtml 플러그인을 나타냅니다.
public sealed class PdfHtml : IPlugin, IDisposable
상속
구현
상속된 멤버
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
예제
이 예제는 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);
생성자
PdfHtml()
public PdfHtml()
메서드
Dispose()
IDisposable의 구현입니다.
public void Dispose()
Process(IPluginOptions)
지정된 매개변수로 Aspose.Pdf.Plugins.PdfHtml 처리를 시작합니다.
public ResultContainer Process(IPluginOptions options)
매개변수
options
IPluginOptions
Aspose.Pdf.Plugins.PdfHtml에 대한 지침을 포함하는 옵션 객체입니다.
반환
작업 결과를 포함하는 Aspose.Pdf.Plugins.ResultContainer 객체입니다.