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

# Interface IManagedFontStorage

> * [Aurigma.DesignAtoms.IFontStorage.GetFontStreamByPath(System.String)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms/IFontStorage.md#getfontstreambypath)
> * [Aurigma.DesignAtoms.IFontStorage.GetFontFilesAsync(System.String, System.Boolean)](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms/IFontStorage.md#getfontfilesasync)
> * [Aurigma.DesignAtoms.IFontStorage.FontCollectionChanged](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms/IFontStorage.md#fontcollectionchanged)

###### **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 IManagedFontStorage : IFontStorage
```

## Inherited Members

## Methods

### AddFontFile

```csharp
void AddFontFile(string folderPath, string fileName, Stream stream, bool overwrite)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *folderPath* |  |
| `System.String` | *fileName* |  |
| `System.IO.Stream` | *stream* |  |
| `System.Boolean` | *overwrite* |  |

### RemoveFontFile

```csharp
bool RemoveFontFile(string filePath)
```

##### Parameters

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

##### Returns

`System.Boolean`

### RemoveFontDirectory

```csharp
bool RemoveFontDirectory(string directoryPath)
```

##### Parameters

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

##### Returns

`System.Boolean`

### IsFontFileExists

```csharp
bool IsFontFileExists(string filePath)
```

##### Parameters

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

##### Returns

`System.Boolean`

### IsFontDirectoryExists

```csharp
bool IsFontDirectoryExists(string folderPath)
```

##### Parameters

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

##### Returns

`System.Boolean`

### GetFontFoldersByPath

```csharp
IEnumerable<string> GetFontFoldersByPath(string folderPath, bool includeSubfolders)
```

##### Parameters

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

##### Returns

`System.Collections.Generic.IEnumerable<System.String>`

### GetFontFilesByPathAsync

```csharp
Task<IEnumerable<string>> GetFontFilesByPathAsync(string folderPath, bool includeSubfolders)
```

##### Parameters

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

##### Returns

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