3.25.0 (latest) 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

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

Represents an image type block.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Document](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.md.txt)[DocumentLayout](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.md.txt)[DocumentLayoutBlock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.DocumentLayoutBlock.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.md.txt)[LayoutImageBlock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Document](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.md.txt)[DocumentLayout](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.md.txt)[DocumentLayoutBlock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.DocumentLayoutBlock.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.md.txt)[LayoutImageBlock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Document](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.md.txt)[DocumentLayout](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.md.txt)[DocumentLayoutBlock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.DocumentLayoutBlock.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.md.txt)[LayoutImageBlock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

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

## Assembly

Google.Cloud.DocumentAI.V1.dll

## Constructors

### LayoutImageBlock()

    public LayoutImageBlock()

### LayoutImageBlock(LayoutImageBlock)

    public LayoutImageBlock(Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutImageBlock` |

## Properties

### Annotations

    public Document.Types.Annotations Annotations { get; set; }

Annotation of the image block.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DocumentTypesAnnotations` |   |

### BlobAssetId

    public string BlobAssetId { get; set; }

Optional. Asset id of the inline image. If set, find the image
content in the blob_assets field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DataUri

    public string DataUri { get; set; }

Optional. Data uri of the image.
It is composed of four parts: a prefix (data:), a MIME type
indicating the type of data, an optional base64 token if
non-textual, and the data itself:
data:\[\<mediatype\>\]\[;base64\],\<data\>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### GcsUri

    public string GcsUri { get; set; }

Optional. Google Cloud Storage uri of the image.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### HasBlobAssetId

    public bool HasBlobAssetId { get; }

Gets whether the "blob_asset_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasDataUri

    public bool HasDataUri { get; }

Gets whether the "data_uri" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasGcsUri

    public bool HasGcsUri { get; }

Gets whether the "gcs_uri" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ImageSourceCase

    public Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock.ImageSourceOneofCase ImageSourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutImageBlockImageSourceOneofCase` |   |

### ImageText

    public string ImageText { get; set; }

Text extracted from the image using OCR or alt text describing the
image.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### MimeType

    public string MimeType { get; set; }

Mime type of the image. An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |