public sealed class Line : IMessage<Document.Types.Page.Types.Line>, IEquatable<Document.Types.Page.Types.Line>, IDeepCloneable<Document.Types.Page.Types.Line>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Page.Types.Line.
A collection of tokens that a human would perceive as a line.
Does not cross column boundaries, can be horizontal, vertical, etc.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eDocument.Types.Page.Types.Line\u003c/code\u003e class within the Cloud Document AI v1 API, spanning versions from 1.0.0 to the latest 3.19.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLine\u003c/code\u003e class represents a collection of tokens perceived as a single line and does not cross column boundaries, with the class being defined within the namespace \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eLine\u003c/code\u003e includes properties such as \u003ccode\u003eDetectedLanguages\u003c/code\u003e, which is a list of detected languages and their confidence levels, \u003ccode\u003eLayout\u003c/code\u003e, which outlines the layout of a line and \u003ccode\u003eProvenance\u003c/code\u003e, which is the annotation history of the line, although this property is marked as obsolete.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLine\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLine\u003c/code\u003e class has two constructors, \u003ccode\u003eLine()\u003c/code\u003e, and \u003ccode\u003eLine(Document.Types.Page.Types.Line other)\u003c/code\u003e which allows a pre-existing line object to be passed to the constructor.\u003c/p\u003e\n"]]],[],null,[]]