Class PdfXls

Class PdfXls

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

แทนที่ Aspose.Pdf.Plugins.PdfXls plugin.

public sealed class PdfXls : IPlugin, IDisposable

การสืบทอด

objectPdfXls

การใช้งาน

IPlugin, IDisposable

สมาชิกที่สืบทอดมา

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

ตัวอย่าง

ตัวอย่างนี้แสดงวิธีการแปลง PDF เป็นเอกสาร XLSX

// สร้างตัวแปลง PdfXLS
var converter = new PdfXLS();
// สร้าง PdfToXLSOptions 
var opt = new PdfToXLSOptions();
// เพิ่มเส้นทางไฟล์นำเข้า
opt.AddInput(new FileDataSource(inputPath));
// ตั้งค่าเส้นทางไฟล์เอาต์พุต
opt.AddOutput(new FileDataSource(outputPath));
converter.Process(opt);

ตัวสร้าง

PdfXls()

public PdfXls()

วิธีการ

Dispose()

การใช้งานของ IDisposable.

public void Dispose()

Process(IPluginOptions)

เริ่มต้นการประมวลผล PdfToExcel ด้วยพารามิเตอร์ที่กำหนด

public ResultContainer Process(IPluginOptions options)

พารามิเตอร์

options IPluginOptions

วัตถุ options ที่มีคำแนะนำสำหรับ Aspose.Pdf.Plugins.PdfXls

คืนค่า

ResultContainer

วัตถุ Aspose.Pdf.Plugins.ResultContainer ที่มีผลลัพธ์ของการดำเนินการ

 แบบไทย