azure-docs-sdk-java/docs-ref-autogen/com.azure.ai.formrecognizer...

103 строки
6.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.ai.formrecognizer.models.FormLine"
fullName: "com.azure.ai.formrecognizer.models.FormLine"
name: "FormLine"
nameWithType: "FormLine"
summary: "Represents a line of text and its appearance."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.ai.formrecognizer.models.FormElement?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "com.azure.ai.formrecognizer.models.FormElement.getBoundingBox()"
- "com.azure.ai.formrecognizer.models.FormElement.getPageNumber()"
- "com.azure.ai.formrecognizer.models.FormElement.getText()"
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public final class FormLine extends FormElement"
constructors:
- uid: "com.azure.ai.formrecognizer.models.FormLine.FormLine(java.lang.String,com.azure.ai.formrecognizer.models.FieldBoundingBox,java.lang.Integer,java.util.List<com.azure.ai.formrecognizer.models.FormWord>)"
fullName: "com.azure.ai.formrecognizer.models.FormLine.FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List<FormWord> words)"
name: "FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List<FormWord> words)"
nameWithType: "FormLine.FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List<FormWord> words)"
summary: "Creates raw OCR item."
parameters:
- description: "The text content of recognized field."
name: "text"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The BoundingBox of the recognized field."
name: "boundingBox"
type: "<xref href=\"com.azure.ai.formrecognizer.models.FieldBoundingBox?alt=com.azure.ai.formrecognizer.models.FieldBoundingBox&text=FieldBoundingBox\" data-throw-if-not-resolved=\"False\" />"
- description: "the page number."
name: "pageNumber"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- description: "The list of word element references."
name: "words"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.ai.formrecognizer.models.FormWord?alt=com.azure.ai.formrecognizer.models.FormWord&text=FormWord\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List<FormWord> words)"
desc: "Creates raw OCR item. When includeFieldElements is set to true, a list of recognized text lines."
methods:
- uid: "com.azure.ai.formrecognizer.models.FormLine.getAppearance()"
fullName: "com.azure.ai.formrecognizer.models.FormLine.getAppearance()"
name: "getAppearance()"
nameWithType: "FormLine.getAppearance()"
summary: "Get the appearance of the text line."
syntax: "public TextAppearance getAppearance()"
desc: "Get the appearance of the text line."
returns:
description: "the appearance of the text line."
type: "<xref href=\"com.azure.ai.formrecognizer.models.TextAppearance?alt=com.azure.ai.formrecognizer.models.TextAppearance&text=TextAppearance\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.formrecognizer.models.FormLine.getBoundingBox()"
fullName: "com.azure.ai.formrecognizer.models.FormLine.getBoundingBox()"
name: "getBoundingBox()"
nameWithType: "FormLine.getBoundingBox()"
summary: "Bounding<wbr>Box property of the element."
overridden: "com.azure.ai.formrecognizer.models.FormElement.getBoundingBox()"
syntax: "public FieldBoundingBox getBoundingBox()"
desc: "BoundingBox property of the element."
returns:
type: "<xref href=\"com.azure.ai.formrecognizer.models.FieldBoundingBox?alt=com.azure.ai.formrecognizer.models.FieldBoundingBox&text=FieldBoundingBox\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.formrecognizer.models.FormLine.getPageNumber()"
fullName: "com.azure.ai.formrecognizer.models.FormLine.getPageNumber()"
name: "getPageNumber()"
nameWithType: "FormLine.getPageNumber()"
summary: "Get the 1-based page number in the input document."
overridden: "com.azure.ai.formrecognizer.models.FormElement.getPageNumber()"
syntax: "public int getPageNumber()"
desc: "Get the 1-based page number in the input document."
returns:
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.formrecognizer.models.FormLine.getText()"
fullName: "com.azure.ai.formrecognizer.models.FormLine.getText()"
name: "getText()"
nameWithType: "FormLine.getText()"
summary: "The text content of the form element."
overridden: "com.azure.ai.formrecognizer.models.FormElement.getText()"
syntax: "public String getText()"
desc: "The text content of the form element."
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.ai.formrecognizer.models.FormLine.getWords()"
fullName: "com.azure.ai.formrecognizer.models.FormLine.getWords()"
name: "getWords()"
nameWithType: "FormLine.getWords()"
summary: "Get the list of words in the text line."
syntax: "public List<FormWord> getWords()"
desc: "Get the list of words in the text line."
returns:
description: "the unmodifiable list of words in the <code>FormLine</code>."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.ai.formrecognizer.models.FormWord?alt=com.azure.ai.formrecognizer.models.FormWord&text=FormWord\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Represents a line of text and its appearance."
metadata: {}
package: "com.azure.ai.formrecognizer.models"
artifact: com.azure:azure-ai-formrecognizer:4.0.0