Class PdfXls

Class PdfXls

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

Reprezentuje wtyczkę Aspose.Pdf.Plugins.PdfXls.

public sealed class PdfXls : IPlugin, IDisposable

Dziedziczenie

objectPdfXls

Implementuje

IPlugin, IDisposable

Członkowie dziedziczeni

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

Przykłady

Przykład pokazuje, jak przekonwertować dokument PDF na dokument XLSX.

// utwórz konwerter PdfXLS
var converter = new PdfXLS();
// utwórz PdfToXLSOptions 
var opt = new PdfToXLSOptions();
// dodaj ścieżkę do pliku wejściowego
opt.AddInput(new FileDataSource(inputPath));
// ustaw ścieżkę do pliku wyjściowego
opt.AddOutput(new FileDataSource(outputPath));
converter.Process(opt);

Konstruktory

PdfXls()

public PdfXls()

Metody

Dispose()

Implementacja IDisposable.

public void Dispose()

Process(IPluginOptions)

Rozpoczyna przetwarzanie PdfToExcel z określonymi parametrami.

public ResultContainer Process(IPluginOptions options)

Parametry

options IPluginOptions

Obiekt opcji zawierający instrukcje dla Aspose.Pdf.Plugins.PdfXls.

Zwraca

ResultContainer

Obiekt Aspose.Pdf.Plugins.ResultContainer zawierający wynik operacji.

 Polski