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 개체.