Class TableGenerator

Class TableGenerator

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

Đại diện cho plugin TableGenerator của Aspose.PDF.

public sealed class TableGenerator : IPlugin, IDisposable

Kế thừa

objectTableGenerator

Triển khai

IPlugin, IDisposable

Các 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 thêm bảng vào tệp PDF.

// tạo TableGenerator
var generator = new TableGenerator();
// tạo đối tượng TableOptions để thiết lập hướng dẫn
var opt = new TableOptions();
// thêm đường dẫn tệp đầu vào
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// thiết lập đường dẫn tệp đầu ra
opt.AddOutput(new FileDataSource(outputPath));
// thực hiện quá trình trích xuất
generator.Process(opt);

Các hàm khởi tạo

TableGenerator()

public TableGenerator()

Các phương thức

Dispose()

Triển khai của IDisposable. Thực tế, không cần thiết cho TableGenerator.

public void Dispose()

Process(IPluginOptions)

Bắt đầu quá trình PdfGenerator 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 các hướng dẫn cho PdfGenerator.

Trả về

ResultContainer

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

Ngoại lệ

NotSupportedException

 Tiếng Việt