Click or drag to resize

FontFile Class

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

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2025.1.16
Syntax
public sealed class FontFile : IEquatable<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 false.

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 methodEquals(FontFile) Determines whether the other FontFile is equal to this FontFile instance.
Public methodEquals(Object) Determines whether the specified Object is equal to this FontFile instance.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Returns a hash code for this FontFile instance.
(Overrides ObjectGetHashCode)
Public methodToString Returns a String that represents this FontFile instance.
(Overrides ObjectToString)
Top
See Also