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

# Interface IFontStorage

> `System.Threading.Tasks.Task<System.IO.Stream>`

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

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

```csharp title="Syntax"
public interface IFontStorage
```

## Methods

### GetFontStreamByPath

```csharp
Task<Stream> GetFontStreamByPath(string fileName)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *fileName* |  |

##### Returns

### GetFontFilesAsync

```csharp
Task<IEnumerable<string>> GetFontFilesAsync(string path, bool includeSubfolders)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *path* |  |
| `System.Boolean` | *includeSubfolders* |  |

##### Returns

`System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.String>>`

## Events

### FontCollectionChanged

```csharp
event EventHandler<EventArgs> FontCollectionChanged
```
