Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# TextField.confidence Property

Module: TextField

Type: float

## Definition

Confidence score for the value read from the text field.

Python

    confidence: float

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    double get confidence => getConfidence();

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public float confidence
    {
        get => Getconfidence();
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public float getConfidence() throws DocumentException

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public var confidence: Float
        get {
            return try! getConfidence()
        }
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentTextField_GetConfidence (ID3_DOCUMENT_TEXT_FIELD hTextField, float * confidence)

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.