Font Methods

The Font type exposes the following members.

Methods
  NameDescription
Public methodAddToSubset
Add characters to the embedded subset.
Public methodCalculateHeight
Calculate the height of the given text in points
Public methodCalculateWidth
Calculate the width of given text in points.
Public methodContains
Check whether this font contains the given character.
Public methodStatic memberCreate(String, Boolean, Boolean)
Tries to find the first matching font.
Public methodStatic memberCreate(String, Boolean, Boolean, String)
Tries to find the first matching font.
Public methodCreatePaths
Return the glyph for the given Unicode chararacter as a FreeHandPathCollection.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetTrueTypeFontNames
Retrieve the names of all TrueType files inside a TrueType collection file.
Public methodGetType (Inherited from Object.)
Public methodStatic memberLoadFamilies
Load the font family collection.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberSaveFamilies
Save the font family collection.
Public methodToString (Inherited from Object.)
Public methodStatic memberTrueType(Stream)
Get a TrueType font from a stream.
Public methodStatic memberTrueType(String)
Get a TrueType font from file.
Public methodStatic memberTrueType(Stream, String)
Get a TrueType font from a TrueType collection stream.
Public methodStatic memberTrueType(String, String)
Get a TrueType font from a TrueType collection (.TTC) file.
Top
See Also