SpreadsheetFontInfo
Leave feedback
On this page
Encapsulates metainfo and binary data of one font from the Spreadsheet document, loaded into the Viewer instance. Spreadsheet documents cannot have embedded fonts, so this particular font, if was returned by the GetAllFonts method, is installed in the operating system, where the GroupDocs.Viewer is running.
public struct SpreadsheetFontInfo : IFontInfo
| Name | Description |
|---|---|
| Charset { get; } | Character set of this font |
| Color { get; } | Color of this font |
| Content { get; } | Content of this font as a byte array. If there is only metainfo about this font, but its binary content is unavailable, this property returns null. |
| FamilyName { get; } | Family name of the font, without style, never is null or empty string |
| Format { get; } | Format of this font |
| IsStrikeout { get; } | Indicates whether the font is a single strikeout |
| IsUnderline { get; } | Indicates whether the font has an underline |
| Style { get; } | Style of this font — may be Regular, Bold, Italic, or Bold Italic |
| Name | Description |
|---|---|
| SerializeToCss(TextWriter) | Serializes this font info as a @font-face at-rule and writes it to the specified text writer |
- interface IFontInfo
- 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.