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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetTrueTypeFontNames
Retrieve the names of all TrueType files inside a TrueType collection file.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLoadFamilies
Load the font family collection.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSaveFamilies
Save the font family collection.
Public methodToString
Returns a string that represents the current object.
(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