Class Html

Class Html

İsim alanı : Aspose.Pdf.Plugins Toplama: Aspose.PDF.dll (25.4.0)

Aspose.Pdf.Plugins.Html eklentisini temsil eder.

public sealed class Html : IPlugin, IDisposable

Inheritance

object Html

Implements

IPlugin , IDisposable

mirasçı üyeleri

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

Examples

Örnek, PDF’yi HTML belgesine nasıl dönüştürdüğünü gösterir.

// 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);

Örnek, HTML’yi PDF belgesine nasıl dönüştüreceğinizi gösterir.

// 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()

Yeterli olmayan bir uygulama.

public void Dispose()

Process(IPlugin seçenekleri)

Aspose.Pdf.Plugins.Html işlemini belirlenen parametrelerle başlatır.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Aspose.Pdf.Plugins.Html için talimatları içeren bir seçenek nesnesi.

Returns

ResultContainer

Bir Aspose.Pdf.Plugins.ResultContainer işlemi sonucu içeren bir nesne.

 Türkçe