[]
Extracts tabular data from a specified table in a PDF document.
public Task<Table> GetTable(GcPdfDocument doc, string tableRequest, RecognitionAlgorithm recognitionAlgorithm = RecognitionAlgorithm.AcrobatLike, OutputRange pageRange = null, CancellationToken cancellationToken = default)
Public Function GetTable(doc As GcPdfDocument, tableRequest As String, Optional recognitionAlgorithm As RecognitionAlgorithm = RecognitionAlgorithm.AcrobatLike, Optional pageRange As OutputRange = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Table)
Type | Name | Description |
---|---|---|
GcPdfDocument | doc | The GcPdfDocument to extract the table from. |
string | tableRequest | A natural language prompt describing the target table, e.g., "Get the 'Product List' table". |
RecognitionAlgorithm | recognitionAlgorithm | The RecognitionAlgorithm to use for analyzing the document. Defaults to AcrobatLike. |
OutputRange | pageRange | The range of pages to analyze. If null, all pages in the document will be processed. |
CancellationToken | cancellationToken | A token to monitor for cancellation requests. Defaults to default. |
Type | Description |
---|---|
Task<Table> | A Table object representing the extracted tabular data. |