FontInfoCollection

FontInfoCollection

Overview

FontInfoCollection is a class in Aspose.Words FOSS for .NET. Inherits from: IEnumerable<FontInfo>.

Represents a collection of fonts used in a document.

This class provides 2 methods for working with FontInfoCollection objects in .NET programs. Available methods include: Contains, GetEnumerator. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: Count, EmbedSystemFonts, EmbedTrueTypeFonts, SaveSubsetFonts.

Properties

NameTypeAccessDescription
CountintReadGets the number of elements contained in the collection.
EmbedTrueTypeFontsboolRead/WriteSpecifies whether or not to embed TrueType fonts in a document when it is saved.
EmbedSystemFontsboolRead/WriteSpecifies whether or not to embed System fonts into the document.
SaveSubsetFontsboolRead/WriteSpecifies whether or not to save a subset of the embedded TrueType fonts with the document.

Methods

SignatureDescription
GetEnumerator()Returns an enumeratoriteratorenumerator object that can be used to iterate over all items in the collection.
Contains(name: string)Determines whether the collection contains a font with the given name.

See Also