IFontInfo
Contents
[
Hide
]
IFontInfo interface
Common interface for all fonts, which can be extracted from all supported families of document formats: PDF, WordProcessing, Spreadsheet, and Presentation.
public interface IFontInfo
Properties
| Name | Description |
|---|---|
| Content { get; } | Binary content of the font as byte array, if available, or null, if not |
| FamilyName { get; } | Family name of the font as a string |
| Format { get; } | Format of this font as enum — TrueType, TrueType Collection, OpenType, Embedded OpenType, or Unknown. |
| Style { get; } | Style of the font as enum — Regular, Bold, Italic, or Bold Italic. Some document formats may have fonts of only a Regular style. |
Methods
| Name | Description |
|---|---|
| SerializeToCss(TextWriter) | Serializes this font info as a @font-face at-rule and writes it to the specified text writer |
See Also
- namespace GroupDocs.Viewer.Fonts
- assembly GroupDocs.Viewer