Export (0) Print
Expand All

FontFamily Members

FontFamily overview

Public Constructors

public constructorFontFamily Constructor Overloaded. Initializes a new FontFamily object that uses the specified name.

Public Properties

public propertystatic (Shared in Visual Basic)Families Returns an array that contains all the FontFamily objects associated with the current graphics context.
public propertystatic (Shared in Visual Basic)GenericMonospace

Supported by the .NET Compact Framework.

Gets a generic monospace FontFamily object.
public propertystatic (Shared in Visual Basic)GenericSansSerif

Supported by the .NET Compact Framework.

Gets a generic sans serif FontFamily object.
public propertystatic (Shared in Visual Basic)GenericSerif

Supported by the .NET Compact Framework.

Gets a generic serif FontFamily object.
public propertyName Gets the name of this FontFamily object.

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:
© 2014 Microsoft