NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FontFamily Methods

The methods of the FontFamily class are listed below. For a complete list of FontFamily class members, see the FontFamily Members topic.

Public:

Dispose Disposes of this FontFamily.
Equals [To be supplied.]
GetCellAscent Returns the ascender metric for Windows.
GetCellDescent Returns the descender metric for Windows.
GetEmHeight Gets the size of the Em square for the specified style in font design units.
GetFamilies Returns an array that contains all of the FontFamily objects associated with the specified graphics context.
GetHashCode Gets a hash code for this FontFamily.
GetLifetimeService (inherited from MarshalByRefObject) This method is used return a lifetime service object that is used to control the lifetime policy to the object. For the default Lifetime service this will be an object of type ILease.
GetLineSpacing Returns the distance between two consecutive lines of text for this FontFamily with the specified FontStyle.
GetName Retuns the name of this FontFamily in the specified language.
GetType (inherited from Object) Gets the Type of the Object.
InitializeLifetimeService (inherited from MarshalByRefObject)  
IsStyleAvailable Indicates whether the specified FontStyle is available.
ToString Converts this FontFamily to a human-readable string.

Protected:

Finalize Allows an object to free resources before the object is reclaimed by the Garbage Collector (GC).
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FontFamily Class | System.Drawing Namespace