PresentationFontInfo class
Leave feedback
On this page
Represents metainfo and binary data of a font from a Presentation document loaded into a Viewer instance. The font is used in the document content and may be embedded in the document or installed in the operating system where the viewer runs.
The PresentationFontInfo type exposes the following members:
| Constructor | Description |
|---|---|
| init |
| Method | Description |
|---|---|
| serialize_to_css | Serializes this font info as a @font-face at-rule and writes it to the specified text writer. |
| serialize_to_css_text_writer |
| Property | Description |
|---|---|
| content | The content of this font as a byte array. |
| family_name | The family name of the font, without style; never None or empty string. |
| format | The format of this font. |
| is_embedded | The property indicates whether the font is embedded inside the document and loaded into the Viewer instance (True), or is a system font (False). |
| style | The style of the font — may be Regular, Bold, Italic, or Bold Italic. |
- module
groupdocs.viewer.fonts
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.