[]
Creates an abstract for the specified GcPdfDocument.
public Task<string> GetAbstract(GcPdfDocument doc, RecognitionAlgorithm recognitionAlgorithm = RecognitionAlgorithm.Advanced, OutputRange pageRange = null, CancellationToken cancellationToken = default)
Public Function GetAbstract(doc As GcPdfDocument, Optional recognitionAlgorithm As RecognitionAlgorithm = RecognitionAlgorithm.Advanced, Optional pageRange As OutputRange = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Type | Name | Description |
---|---|---|
GcPdfDocument | doc | The GcPdfDocument to analyze. |
RecognitionAlgorithm | recognitionAlgorithm | The RecognitionAlgorithm to use when analyzing the document. Defaults to Advanced. |
OutputRange | pageRange | The range of pages to analyze. Defaults to null, meaning all pages are included. |
CancellationToken | cancellationToken | A token that can be used to cancel the operation. Defaults to None. |
Type | Description |
---|---|
Task<string> | A task that represents the asynchronous operation. The result contains the generated abstract. |