Class TableGenerator
Class TableGenerator
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
מייצג את תוסף Aspose.PDF TableGenerator.
public sealed class TableGenerator : IPlugin, IDisposable
ירושה
מיישם
חברים מורשים
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
דוגמאות
הדוגמה מדגימה כיצד להוסיף טבלה לקובץ PDF.
// create TableGenerator
var generator = new TableGenerator();
// create TableOptions object to set instructions
var opt = new TableOptions();
// add input file paths
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
// perform extraction process
generator.Process(opt);
בונים
TableGenerator()
public TableGenerator()
שיטות
Dispose()
יישום של IDisposable. למעשה, זה לא הכרחי עבור TableGenerator.
public void Dispose()
Process(IPluginOptions)
מתחיל את עיבוד ה-PdfGenerator עם הפרמטרים המצוינים.
public ResultContainer Process(IPluginOptions options)
פרמטרים
options
IPluginOptions
אובייקט אפשרויות המכיל הוראות עבור ה-PdfGenerator.
מחזיר
אובייקט ResultContainer מכיל את תוצאת הפעולה.