Class TableGenerator

Class TableGenerator

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

แทนที่ Aspose.PDF TableGenerator ปลั๊กอิน

public sealed class TableGenerator : IPlugin, IDisposable

การสืบทอด

objectTableGenerator

การใช้งาน

IPlugin, IDisposable

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

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

ตัวอย่าง

ตัวอย่างนี้แสดงวิธีการเพิ่มตารางลงในไฟล์ PDF

// สร้าง TableGenerator
var generator = new TableGenerator();
// สร้างวัตถุ TableOptions เพื่อกำหนดคำสั่ง
var opt = new TableOptions();
// เพิ่มเส้นทางไฟล์นำเข้า
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// กำหนดเส้นทางไฟล์ส่งออก
opt.AddOutput(new FileDataSource(outputPath));
// ดำเนินการกระบวนการสกัด
generator.Process(opt);

ตัวสร้าง

TableGenerator()

public TableGenerator()

วิธีการ

Dispose()

การใช้งานของ IDisposable โดยแท้จริงแล้วไม่จำเป็นสำหรับ TableGenerator

public void Dispose()

Process(IPluginOptions)

เริ่มกระบวนการ PdfGenerator ด้วยพารามิเตอร์ที่กำหนด

public ResultContainer Process(IPluginOptions options)

พารามิเตอร์

options IPluginOptions

วัตถุ options ที่มีคำสั่งสำหรับ PdfGenerator

คืนค่า

ResultContainer

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

ข้อยกเว้น

NotSupportedException

 แบบไทย