Cloud Document AI v1beta3 API - Class Document.Types.TextAnchor (2.0.0-beta22)

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

Reference documentation and code samples for the Cloud Document AI v1beta3 API class Document.Types.TextAnchor.

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

Inheritance

object > Document.Types.TextAnchor

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

TextAnchor()

public TextAnchor()

TextAnchor(TextAnchor)

public TextAnchor(Document.Types.TextAnchor other)
Parameter
Name Description
other DocumentTypesTextAnchor

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. It is always populated for formFields.

Property Value
Type Description
string

TextSegments

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

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

Property Value
Type Description
RepeatedFieldDocumentTypesTextAnchorTypesTextSegment