Skip to main content

ITextractAdaptersConfig

Interface in AWS.Textract

Interface for AdaptersConfig.

Properties

Adapters

property Adapters: TList<ITextractAdapter>

Type: ITextractAdapter

Specify a list of adapters to be used when analyzing a document.

Methods

AddAdapter

function AddAdapter(const AAdapter: ITextractAdapter): NativeInt; overload;

ITextractAdapter

Add an adapter to Adapters.

Parameters

NameDescription
AAdapterSpecify an adapter to add to Adapters.

Returns

Returns the index of the adapter added to Adapters.


function AddAdapter(const AAdapterId, AVersion: string): NativeInt; overload;

Add an adapter to Adapters.

Parameters

NameDescription
AAdapterIdSpecify the unique identifier for the adapter resource.
AVersionSpecify the version of the adapter.

Returns

Returns the index of the adapter added to Adapters.


function AddAdapter(const AAdapterId, AVersion: string; const APages: array of string): NativeInt; overload;

Add an adapter to Adapters.

Parameters

NameDescription
AAdapterIdSpecify the unique identifier for the adapter resource.
AVersionSpecify the version of the adapter.
APagesSpecify the pages to apply the adapter to.

Returns

Returns the index of the adapter added to Adapters.