---
title: "Class TemplateImage | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Convert.Unit/TemplateImage/"
---

# Class TemplateImage

> **Inheritance:** `System.Object` -> TemplateImage

###### **Namespace**: [Aurigma.DesignAtoms.Convert.Unit](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Convert.Unit.md)

###### **Assembly**: Aurigma.DesignAtoms.dll

```csharp title="Syntax"
public class TemplateImage : IDisposable
```

## Implements

* `System.IDisposable`

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### TemplateImage

```csharp
public TemplateImage(string name, TemplateImageType type, ITemplateStorage templateStorage)
```

## Properties

### Name

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

### Type

```csharp
public TemplateImageType Type { get; }
```

### Format

```csharp
public FileFormat Format { get; }
```

### Metadata

```csharp
public TemplateImageMetadata Metadata { get; }
```

### Stream

```csharp
public Stream Stream { get; }
```

## Methods

### Dispose

```csharp
public void Dispose()
```
