---
title: "Class Image"
slug: "sitecore.layoutservice.client.response.model.properties.image"
abstract: ""
---
# Class Image

Represents the properties of an image in a Sitecore layout service response.

## Inheritance

System.Object

Image

### **Namespace**: Sitecore.LayoutService.Client.Response.Model.Properties

#### **Assembly**: Sitecore.LayoutService.Client.Abstractions.dll

##### Syntax

```csharp
public class Image : Object

```

### Constructors

#### Image()

##### Declaration

```csharp
public Image()

```

### Properties

#### Alt

Gets or sets the alternative text of the image.

##### Declaration

```csharp
public string Alt { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### Border

Gets or sets the border thickness of the image.

##### Declaration

```csharp
public Nullable<int> Border { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Int32<br><br>> |  |

#### Class

Gets or sets the class of the image.

##### Declaration

```csharp
public string Class { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### Height

Gets or sets the height of the image.

##### Declaration

```csharp
public Nullable<int> Height { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Int32<br><br>> |  |

#### HSpace

Gets or sets the number of whitespaces on the left and the right side of the image.

##### Declaration

```csharp
public Nullable<int> HSpace { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Int32<br><br>> |  |

#### Src

Gets or sets the source of the image.

##### Declaration

```csharp
public string Src { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### Title

Gets or sets the title of the image.

##### Declaration

```csharp
public string Title { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### VSpace

Gets or sets the number of whitespaces on the bottom and top side of the image.

##### Declaration

```csharp
public Nullable<int> VSpace { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Int32<br><br>> |  |

#### Width

Gets or sets the width of the image.

##### Declaration

```csharp
public Nullable<int> Width { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Int32<br><br>> |  |
