Skip to main content

ITextractQueriesConfig

Interface in AWS.Textract

Interface for QueriesConfig.

Properties

Queries

property Queries: TList<ITextractQuery>

Type: ITextractQuery

Specify a list of custom queries to ask during analysis.

Methods

AddQuery

function AddQuery(const AQuery: ITextractQuery): NativeInt; overload;

ITextractQuery

Add a query to Queries.

Parameters

NameDescription
AQuerySpecify a query to add to Queries.

Returns

Returns the index of the query added to Queries.


function AddQuery(const AText: string; const AAlias: string = ''): NativeInt; overload;

Add a query to Queries.

Parameters

NameDescription
ATextSpecify a question that Amazon Textract will be applied to the document.
AAliasSpecify an alias to attach to the query, for ease of location.

Returns

Returns the index of the query added to Queries.


function AddQuery(const AText, AAlias: string; const APages: array of string): NativeInt; overload;

Add a query to Queries.

Parameters

NameDescription
ATextSpecify a question that Amazon Textract will be applied to the document.
AAliasSpecify an alias to attach to the query, for ease of location.
APagesSpecify the pages to apply the query to.

Returns

Returns the index of the query added to Queries.