Interface IFontCollection
A readable and writable collection of fonts.
public interface IFontCollection : IReadOnlyFontCollection
- Inherited Members
Methods
Add(Stream)
Adds a font to the collection.
FontFamily Add(Stream stream)
Parameters
streamStreamThe font stream.
Returns
- FontFamily
The new FontFamily.
Add(Stream, out FontDescription)
Adds a font to the collection.
FontFamily Add(Stream stream, out FontDescription description)
Parameters
streamStreamThe font stream.
descriptionFontDescriptionThe description of the added font.
Returns
- FontFamily
The new FontFamily.
Add(string)
Adds a font to the collection.
FontFamily Add(string path)
Parameters
pathstringThe filesystem path to the font file.
Returns
- FontFamily
The new FontFamily.
Add(string, out FontDescription)
Adds a font to the collection.
FontFamily Add(string path, out FontDescription description)
Parameters
pathstringThe filesystem path to the font file.
descriptionFontDescriptionThe description of the added font.
Returns
- FontFamily
The new FontFamily.
AddCollection(Stream)
Adds a true type font collection (.ttc).
ReadOnlyMemory<FontFamily> AddCollection(Stream stream)
Parameters
streamStreamThe font stream.
Returns
- ReadOnlyMemory<FontFamily>
A read-only memory region containing the new FontFamily values.
AddCollection(Stream, CultureInfo)
Adds a true type font collection (.ttc).
ReadOnlyMemory<FontFamily> AddCollection(Stream stream, CultureInfo culture)
Parameters
streamStreamThe font stream.
cultureCultureInfoThe culture of the fonts to add.
Returns
- ReadOnlyMemory<FontFamily>
A read-only memory region containing the new FontFamily values.
AddCollection(Stream, CultureInfo, out ReadOnlyMemory<FontDescription>)
Adds a true type font collection (.ttc).
ReadOnlyMemory<FontFamily> AddCollection(Stream stream, CultureInfo culture, out ReadOnlyMemory<FontDescription> descriptions)
Parameters
streamStreamThe font stream.
cultureCultureInfoThe culture of the fonts to add.
descriptionsReadOnlyMemory<FontDescription>The descriptions of the added fonts.
Returns
- ReadOnlyMemory<FontFamily>
A read-only memory region containing the new FontFamily values.
AddCollection(Stream, out ReadOnlyMemory<FontDescription>)
Adds a true type font collection (.ttc).
ReadOnlyMemory<FontFamily> AddCollection(Stream stream, out ReadOnlyMemory<FontDescription> descriptions)
Parameters
streamStreamThe font stream.
descriptionsReadOnlyMemory<FontDescription>The descriptions of the added fonts.
Returns
- ReadOnlyMemory<FontFamily>
A read-only memory region containing the new FontFamily values.
AddCollection(string)
Adds a true type font collection (.ttc).
ReadOnlyMemory<FontFamily> AddCollection(string path)
Parameters
pathstringThe font collection path.
Returns
- ReadOnlyMemory<FontFamily>
A read-only memory region containing the new FontFamily values.
AddCollection(string, CultureInfo)
Adds a true type font collection (.ttc).
ReadOnlyMemory<FontFamily> AddCollection(string path, CultureInfo culture)
Parameters
pathstringThe font collection path.
cultureCultureInfoThe culture of the fonts to add.
Returns
- ReadOnlyMemory<FontFamily>
A read-only memory region containing the new FontFamily values.
AddCollection(string, CultureInfo, out ReadOnlyMemory<FontDescription>)
Adds a true type font collection (.ttc).
ReadOnlyMemory<FontFamily> AddCollection(string path, CultureInfo culture, out ReadOnlyMemory<FontDescription> descriptions)
Parameters
pathstringThe font collection path.
cultureCultureInfoThe culture of the fonts to add.
descriptionsReadOnlyMemory<FontDescription>The descriptions of the added fonts.
Returns
- ReadOnlyMemory<FontFamily>
A read-only memory region containing the new FontFamily values.
AddCollection(string, out ReadOnlyMemory<FontDescription>)
Adds a true type font collection (.ttc).
ReadOnlyMemory<FontFamily> AddCollection(string path, out ReadOnlyMemory<FontDescription> descriptions)
Parameters
pathstringThe font collection path.
descriptionsReadOnlyMemory<FontDescription>The descriptions of the added fonts.
Returns
- ReadOnlyMemory<FontFamily>
A read-only memory region containing the new FontFamily values.
AddWithCulture(Stream, CultureInfo)
Adds a font to the collection.
FontFamily AddWithCulture(Stream stream, CultureInfo culture)
Parameters
streamStreamThe font stream.
cultureCultureInfoThe culture of the font to add.
Returns
- FontFamily
The new FontFamily.
AddWithCulture(Stream, CultureInfo, out FontDescription)
Adds a font to the collection.
FontFamily AddWithCulture(Stream stream, CultureInfo culture, out FontDescription description)
Parameters
streamStreamThe font stream.
cultureCultureInfoThe culture of the font to add.
descriptionFontDescriptionThe description of the added font.
Returns
- FontFamily
The new FontFamily.
AddWithCulture(string, CultureInfo)
Adds a font to the collection.
FontFamily AddWithCulture(string path, CultureInfo culture)
Parameters
pathstringThe filesystem path to the font file.
cultureCultureInfoThe culture of the font to add.
Returns
- FontFamily
The new FontFamily.
AddWithCulture(string, CultureInfo, out FontDescription)
Adds a font to the collection.
FontFamily AddWithCulture(string path, CultureInfo culture, out FontDescription description)
Parameters
pathstringThe filesystem path to the font file.
cultureCultureInfoThe culture of the font to add.
descriptionFontDescriptionThe description of the added font.
Returns
- FontFamily
The new FontFamily.