Note
This API is still in beta and may change in future versions of Scandit Data Capture SDK.
Scanned Text
Defined under the namespace Scandit.Datacapture.Barcode
- ScannedText
class ScannedText : ScannedComponent<TextIdentifier>
Added in version 8.1.0
A scanned text component in the item-based scanning APIs. This class represents detected and recognized text with its associated location and identification information.
ScannedText implements the ScannedComponent protocol, providing a unique identifier and location information, along with the recognized text content.
- definitionIdentifier
get definitionIdentifier(): TextIdentifier
Added in version 8.1.0
The unique identifier for the definition of this text component.
- identifier
get identifier(): ScannedComponentIdentifier
Added in version 8.1.0
The unique identifier for this instance of the text component.
- location
get location(): Quadrilateral
Added in version 8.1.0
The location of the text in the image as a quadrilateral.