FontFile Class
Represents a font file either on the disk or in the memory.
- Inheritance:
- FontFile
Properties
FamilyName
Gets the font family name.
Property Value
The font family name.
See Also
Italic
Gets a value indicating whether the characters in a font are truly (Italic) or artificially (Oblique) slanted.
Default value is false.
Property Value
true if the characters in a font are slanted; otherwise, false.
See Also
Stretch
Gets the integer value between 1 and 9 that represents OpenType font widths.
Default value is 5.
Property Value
The integer value between 1 and 9 that represents OpenType font widths.
See Also
Weight
Gets the integer value between 1 and 999 that represents OpenType font weight.
Default value is 400. Bold value is 700.
Property Value
The integer value between 1 and 999 that represents OpenType font weight.
See Also
Methods
ContainsCharacter(Int32)
Determines whether the font file contains outlines for the specified Unicode character.
public bool ContainsCharacter(int character)
Public Function ContainsCharacter(character As Integer) As Boolean
Parameters
character
- Int32
The Unicode character.
Returns
true if the font file contains outlines for the specified Unicode character; otherwise, false.
ToString()
Returns
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).