Cloud Document AI v1 API - Class Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTextBlock (3.17.0)

public sealed class Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTextBlock : IMessage<Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTextBlock>, IEquatable<Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTextBlock>, IDeepCloneable<Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTextBlock>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTextBlock.

Represents a text type block.

Inheritance

object > Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTextBlock

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

LayoutTextBlock()

public LayoutTextBlock()

LayoutTextBlock(LayoutTextBlock)

public LayoutTextBlock(Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTextBlock other)
Parameter
Name Description
other DocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutTextBlock

Properties

Blocks

public RepeatedField<Document.Types.DocumentLayout.Types.DocumentLayoutBlock> Blocks { get; }

A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.

Property Value
Type Description
RepeatedFieldDocumentTypesDocumentLayoutTypesDocumentLayoutBlock

Text

public string Text { get; set; }

Text content stored in the block.

Property Value
Type Description
string

Type

public string Type { get; set; }

Type of the text in the block. Available options are: paragraph, subtitle, heading-1, heading-2, heading-3, heading-4, heading-5, header, footer.

Property Value
Type Description
string