Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FontFamily Methods

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

Public Methods

public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose

Supported by the .NET Compact Framework.

Releases all resources used by this FontFamily object.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Indicates whether the specified object is a FontFamily object and is identical to this FontFamily object.
public methodGetCellAscent Returns the cell ascent, in design units, of the FontFamily object of the specified style. For information about font metrics, see Obtaining Font Metrics.
public methodGetCellDescent Returns the cell descent, in design units, of the FontFamily object of the specified style. For information about font metrics, see Obtaining Font Metrics.
public methodGetEmHeight Gets the height, in font design units, of the em square for the specified style. For information about font metrics, see Obtaining Font Metrics.
public methodstatic (Shared in Visual Basic)GetFamilies Returns an array that contains all the FontFamily objects available for the specified graphics context.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Gets a hash code for this FontFamily object.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetLineSpacing Returns the line spacing, in design units, of the FontFamily object of the specified style. The line spacing is the vertical distance between the base lines of two consecutive lines of text. For information about font metrics, see Obtaining Font Metrics.
public methodGetName Returns the name, in the specified language, of this FontFamily object.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodIsStyleAvailable Indicates whether the specified FontStyle enumeration is available.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Converts this FontFamily object to a human-readable string representation.

Protected Methods

protected methodFinalize

Supported by the .NET Compact Framework.

Overridden. See Object.Finalize.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

FontFamily Class | System.Drawing Namespace

Show:
© 2015 Microsoft