The DocumentFont type exposes the following members.

Methods

  Name Description
Public method AssignFrom
Assigns (copies) properties from another DocumentFont to the current object.

Properties

  Name Description
Public property Bold
Gets a value indicating whether the current font is bold.
Public property CoreFontBold
Gets a value indicating whether the underlying physical font is bold.
Public property CoreFontItalic
Gets a value indicating whether the underlying physical font is italic.
Public property FontFamilyName
Gets the actual font family name. This name may be used in API calls to create the corresponding font.

If FontHandling has been set to BuildActualDocumentFonts or EmbedActualFonts, this name may differ from FontName.

Public property FontFileName
Gets the name of the font file installed on the system or embedded in the document, that is actually used to render the glyphs.
Public property FontName
Gets the name of the font as specified by the user.

For fonts created automatically due to font substitution, this is still the name of the original specified font, not of the substitute font.

Public property FontStyle
Gets the FontStyle of the current font.
Public property Glyphs
Gets the array of glyphs that were rendered using the current font.
Public property HasGlyphs
Gets a value indicating whether the Glyphs collection is not empty.
Public property Italic
Gets a value indicating whether the current font is italic.
Public property Owner
Gets the DocumentFontCollection containing the current object.

See Also