IFontInfo
Leave feedback
On this page
Common interface for all fonts, which can be extracted from all supported families of document formats: PDF, WordProcessing, Spreadsheet, and Presentation.
public interface IFontInfo
| 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. |
| Name | Description |
|---|---|
| SerializeToCss(TextWriter) | Serializes this font info as a @font-face at-rule and writes it to the specified text writer |
- namespace GroupDocs.Viewer.Fonts
- assembly GroupDocs.Viewer
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.