3.6.0 (latest) 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0

    public enum Document.Types.Layout.Types.TextSegmentType

Reference documentation and code samples for the Google AutoML v1 API enum Document.Types.Layout.Types.TextSegmentType.

The type of TextSegment in the context of the original document.

## Namespace

[Google.Cloud.AutoML.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AutoML.V1/latest/Google.Cloud.AutoML.V1)

## Assembly

Google.Cloud.AutoML.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `FormField` | The text segment is a form field. |
| `FormFieldContents` | The text segment is the text content part of a form field. It will be treated as child of another FORM_FIELD TextSegment if its span is subspan of another TextSegment with type FORM_FIELD. |
| `FormFieldName` | The text segment is the name part of a form field. It will be treated as child of another FORM_FIELD TextSegment if its span is subspan of another TextSegment with type FORM_FIELD. |
| `Paragraph` | The text segment is a paragraph. |
| `Table` | The text segment is a whole table, including headers, and all rows. |
| `TableCell` | The text segment is a cell in table. It will be treated as child of another TABLE_ROW TextSegment if its span is subspan of another TextSegment with type TABLE_ROW. |
| `TableHeader` | The text segment is a table's headers. It will be treated as child of another TABLE TextSegment if its span is subspan of another TextSegment with type TABLE. |
| `TableRow` | The text segment is a row in table. It will be treated as child of another TABLE TextSegment if its span is subspan of another TextSegment with type TABLE. |
| `Token` | The text segment is a token. e.g. word. |
| `Unspecified` | Should not be used. |