PresentationFontInfo class

PresentationFontInfo class

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:

Constructors

Constructor Description
init

Methods

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

Properties

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.

See Also