Class PdfXls

Class PdfXls

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

Đại diện cho plugin Aspose.Pdf.Plugins.PdfXls.

public sealed class PdfXls : IPlugin, IDisposable

Kế thừa

objectPdfXls

Triển khai

IPlugin, IDisposable

Thành viên kế thừa

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

Ví dụ

Ví dụ này minh họa cách chuyển đổi tài liệu PDF sang tài liệu XLSX.

// tạo bộ chuyển đổi PdfXLS
var converter = new PdfXLS();
// tạo PdfToXLSOptions 
var opt = new PdfToXLSOptions();
// thêm đường dẫn tệp đầu vào
opt.AddInput(new FileDataSource(inputPath));
// thiết lập đường dẫn tệp đầu ra
opt.AddOutput(new FileDataSource(outputPath));
converter.Process(opt);

Các hàm tạo

PdfXls()

public PdfXls()

Các phương thức

Dispose()

Triển khai của IDisposable.

public void Dispose()

Process(IPluginOptions)

Bắt đầu quá trình PdfToExcel với các tham số được chỉ định.

public ResultContainer Process(IPluginOptions options)

Tham số

options IPluginOptions

Một đối tượng tùy chọn chứa hướng dẫn cho Aspose.Pdf.Plugins.PdfXls.

Trả về

ResultContainer

Một đối tượng Aspose.Pdf.Plugins.ResultContainer chứa kết quả của thao tác.

 Tiếng Việt