SpreadsheetFontInfo
Contents
[
Hide
]
SpreadsheetFontInfo structure
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
Properties
| 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 |
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
- interface IFontInfo
- namespace GroupDocs.Viewer.Fonts
- assembly GroupDocs.Viewer