Interface IManagedFontStorage
Namespace: Aurigma.DesignAtoms
Assembly: Aurigma.DesignAtoms.dll
Syntax
public interface IManagedFontStorage : IFontStorage
Inherited Members
- Aurigma.DesignAtoms.IFontStorage.GetFontStreamByPath(System.String)
- Aurigma.DesignAtoms.IFontStorage.GetFontFilesAsync(System.String, System.Boolean)
- Aurigma.DesignAtoms.IFontStorage.FontCollectionChanged
Methods
AddFontFile
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
bool RemoveFontFile(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | filePath |
Returns
System.Boolean
RemoveFontDirectory
bool RemoveFontDirectory(string directoryPath)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | directoryPath |
Returns
System.Boolean
IsFontFileExists
bool IsFontFileExists(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | filePath |
Returns
System.Boolean
IsFontDirectoryExists
bool IsFontDirectoryExists(string folderPath)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | folderPath |
Returns
System.Boolean
GetFontFoldersByPath
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
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>>