FontSources
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.IFontSources
public class FontSources implements IFontSources
Provides file and memory sources for external fonts.
Constructors
| Constructor | Description |
|---|---|
| FontSources() | Creates new default font options. |
Methods
| Method | Description |
|---|---|
| getFontFolders() | Folders containing font files. |
| setFontFolders(String[] value) | Folders containing font files. |
| getMemoryFonts() | A collection of fonts represented as byte arrays. |
| setMemoryFonts(byte[][] value) | A collection of fonts represented as byte arrays. |
FontSources()
public FontSources()
Creates new default font options.
getFontFolders()
public final String[] getFontFolders()
Folders containing font files. All font files located in these folders are included in the collection. Folders that are recursively searched.
Returns: java.lang.String[]
setFontFolders(String[] value)
public final void setFontFolders(String[] value)
Folders containing font files. All font files located in these folders are included in the collection. Folders that are recursively searched.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String[] |
getMemoryFonts()
public final byte[][] getMemoryFonts()
A collection of fonts represented as byte arrays.
Returns: byte[][]
setMemoryFonts(byte[][] value)
public final void setMemoryFonts(byte[][] value)
A collection of fonts represented as byte arrays.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | byte[][] |