Click or drag to resize

FontFile Class

Represents a font file either on the disk or in the memory.
Inheritance Hierarchy
SystemObject
  GemBox.DocumentFontFile

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 27.3.30.1119
Syntax
public sealed class FontFile

The FontFile type exposes the following members.

Properties
  NameDescription
Public propertyFamilyName
Gets the font family name.
Public propertyItalic

Gets a value indicating whether the characters in a font are truly (Italic) or artificially (Oblique) slanted.

Default value is .

Public propertyStretch

Gets the integer value between 1 and 9 that represents OpenType font widths.

Default value is 5.

Public propertyWeight

Gets the integer value between 1 and 999 that represents OpenType font weight.

Default value is 400. Bold value is 700.

Top
Methods
  NameDescription
Public methodContainsCharacter
Determines whether the font file contains outlines for the specified Unicode character.
Public methodToString
Returns a String that represents this FontFile instance.
(Overrides ObjectToString.)
Top
See Also