# Google Cloud Document Ai V1 Client - Class LayoutType (2.7.0)

2.7.0 (latest) 2.6.1 2.5.1 2.4.1 2.3.0 2.2.2 2.1.3 2.0.0 1.14.0 1.13.1 1.12.2 1.9.0 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Document Ai V1 Client class LayoutType.

The type of layout that is being referenced.

Protobuf type `google.cloud.documentai.v1.Document.PageAnchor.PageRef.LayoutType`

## Namespace

Google \\ Cloud \\ DocumentAI \\ V1 \\ Document \\ PageAnchor \\ PageRef

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### LAYOUT_TYPE_UNSPECIFIED

    Value: 0

Layout Unspecified.

Generated from protobuf enum `LAYOUT_TYPE_UNSPECIFIED = 0;`

### BLOCK

    Value: 1

References a
[Page.blocks](https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getBlocks__)
element.

Generated from protobuf enum `BLOCK = 1;`

### PARAGRAPH

    Value: 2

References a
[Page.paragraphs](https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getParagraphs__)
element.

Generated from protobuf enum `PARAGRAPH = 2;`

### LINE

    Value: 3

References a
[Page.lines](https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getLines__) element.

Generated from protobuf enum `LINE = 3;`

### TOKEN

    Value: 4

References a
[Page.tokens](https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getTokens__)
element.

Generated from protobuf enum `TOKEN = 4;`

### VISUAL_ELEMENT

    Value: 5

References a
[Page.visual_elements](https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getVisualElements__)
element.

Generated from protobuf enum `VISUAL_ELEMENT = 5;`

### TABLE

    Value: 6

Refrrences a
[Page.tables](https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getTables__)
element.

Generated from protobuf enum `TABLE = 6;`

### FORM_FIELD

    Value: 7

References a
[Page.form_fields](https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getFormFields__)
element.

Generated from protobuf enum `FORM_FIELD = 7;`