PdfFontInfo class

PdfFontInfo class

Encapsulates metadata and binary data of a PDF font loaded into a Viewer instance, which may be embedded in the document or installed on the operating system where GroupDocs.Viewer runs.

The PdfFontInfo 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, or None if only metadata is available and the binary content is unavailable.
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 PDF document and loaded into the Viewer instance (True), or not.
is_installed The property indicates whether this font is present (installed) in the operating system where the GroupDocs.Viewer is running.
style The style of the font; may be Regular, Bold, Italic, or Bold Italic.

See Also