Class Document.Types.TextAnchor (1.2.0)

public sealed class TextAnchor : IMessage<Document.Types.TextAnchor>, IEquatable<Document.Types.TextAnchor>, IDeepCloneable<Document.Types.TextAnchor>, IBufferMessage, IMessage

Text reference indexing into the [Document.text][google.cloud.documentai.v1.Document.text].

Inheritance

Object > Document.Types.TextAnchor

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

TextAnchor()

public TextAnchor()

TextAnchor(Document.Types.TextAnchor)

public TextAnchor(Document.Types.TextAnchor other)
Parameter
NameDescription
otherDocument.Types.TextAnchor

Properties

Content

public string Content { get; set; }

Contains the content of the text span so that users do not have to look it up in the text_segments.

Property Value
TypeDescription
String

TextSegments

public RepeatedField<Document.Types.TextAnchor.Types.TextSegment> TextSegments { get; }

The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].

Property Value
TypeDescription
RepeatedField<Document.Types.TextAnchor.Types.TextSegment>