Class PdfXls

Class PdfXls

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

Representerar Aspose.Pdf.Plugins.PdfXls-plugin.

public sealed class PdfXls : IPlugin, IDisposable

Arv

objectPdfXls

Implementerar

IPlugin, IDisposable

Ärvda Medlemmar

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

Exempel

Exemplet visar hur man konverterar en PDF till ett XLSX-dokument.

// skapa PdfXLS-konverterare
var converter = new PdfXLS();
// skapa PdfToXLSOptions 
var opt = new PdfToXLSOptions();
// lägg till indatafilens sökväg
opt.AddInput(new FileDataSource(inputPath));
// ange utdatafilens sökväg
opt.AddOutput(new FileDataSource(outputPath));
converter.Process(opt);

Konstruktörer

PdfXls()

public PdfXls()

Metoder

Dispose()

Implementering av IDisposable.

public void Dispose()

Process(IPluginOptions)

Startar PdfToExcel-behandlingen med de angivna parametrarna.

public ResultContainer Process(IPluginOptions options)

Parametrar

options IPluginOptions

Ett options-objekt som innehåller instruktioner för Aspose.Pdf.Plugins.PdfXls.

Returer

ResultContainer

Ett Aspose.Pdf.Plugins.ResultContainer-objekt som innehåller resultatet av operationen.

 Svenska