---
title: "Class Rendition"
slug: "sdk--stylelabs.m.sdk.models.base.rendition"
abstract: ""
---
# Class Rendition

Represents a rendition.

## Inheritance

object

Rendition

## Implements

[IRendition](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.base.irendition.html)

## Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBase

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public class Rendition : IRendition
```

## Constructors

### Rendition(string, IEnumerable<IRenditionItem>)

Initializes a new instance of the [Rendition](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.base.rendition.html) class.

#### Declaration

```csharp
public Rendition(string name, IEnumerable<IRenditionItem> items)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| string | name | Name of the rendition. |
| IEnumerable<>[IRenditionItem](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.base.irenditionitem.html) | items | Items in this rendition. |

## Properties

### Items

Gets collection of rendition items.

#### Declaration

```csharp
public IReadOnlyList<IRenditionItem> Items { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| IReadOnlyList<>[IRenditionItem](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.base.irenditionitem.html) |  |

#### Remarks

Depending on the file type, there can be one or more rendition items. For example a PDF will have an item per page.

### Name

Gets name of the rendition.

#### Declaration

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

#### Property Value

| Type | Description |
| --- | --- |
| string |  |

### Implements

[IRendition](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.base.irendition.html)
