你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Line interface

An object representing a recognized text line.

Properties

appearance

Appearance of the text line.

boundingBox

Bounding box of a recognized line.

language

The BCP-47 language code of the recognized text line. Only provided where the language of the line differs from the page's.

text

The text content of the line.

words

List of words in the text line.

Property Details

appearance

Appearance of the text line.

appearance?: Appearance

Property Value

boundingBox

Bounding box of a recognized line.

boundingBox: number[]

Property Value

number[]

language

The BCP-47 language code of the recognized text line. Only provided where the language of the line differs from the page's.

language?: string

Property Value

string

text

The text content of the line.

text: string

Property Value

string

words

List of words in the text line.

words: Word[]

Property Value

Word[]