### 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: - "" - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **FormLine**
extends " constructors: - uid: "com.azure.ai.formrecognizer.models.FormLine.FormLine(java.lang.String,com.azure.ai.formrecognizer.models.FieldBoundingBox,java.lang.Integer,java.util.List)" fullName: "com.azure.ai.formrecognizer.models.FormLine.FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List words)" name: "FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List words)" nameWithType: "FormLine.FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List words)" summary: "Creates raw OCR item." parameters: - description: "The text content of recognized field." name: "text" type: "String" - description: "The BoundingBox of the recognized field." name: "boundingBox" type: "" - description: "the page number." name: "pageNumber" type: "Integer" - description: "The list of word element references." name: "words" type: "List<>" syntax: "public FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List 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: "" - uid: "com.azure.ai.formrecognizer.models.FormLine.getBoundingBox()" fullName: "com.azure.ai.formrecognizer.models.FormLine.getBoundingBox()" name: "getBoundingBox()" nameWithType: "FormLine.getBoundingBox()" summary: "BoundingBox property of the element." overridden: "com.azure.ai.formrecognizer.models.FormElement.getBoundingBox()" syntax: "public FieldBoundingBox getBoundingBox()" desc: "BoundingBox property of the element." returns: type: "" - 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: "" - 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: "String" - 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 getWords()" desc: "Get the list of words in the text line." returns: description: "the unmodifiable list of words in the FormLine." type: "List<>" 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.1.11