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 Members

Public:

Constructor

FontFamily Constructor Overloaded. Initializes a new instance of the FontFamily class.

Properties

Families Returns an array that contains all of the FontFamily objects associated with the current graphics context.
GenericMonospace Gets a generic monospace FontFamily.
GenericSansSerif Gets a generic SansSerif FontFamily.
GenericSerif Gets a generic Serif FontFamily.
Name Gets the name of this FontFamily.

Methods

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:

Methods

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