次の方法で共有


Font Members

Encapsulates the textures and resources needed to render a specific font on a specific device.

The following tables list the members exposed by the Font type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework Font Overloaded. Initializes a new instance of the Font class.

Top

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework Description Gets a description of the current font object.
Public property Supported by the .NET Compact Framework Device Gets the device associated with a font object.
Public property Supported by the .NET Compact Framework Disposed Gets a value that indicates whether the object is disposed.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Dispose Releases all resources used by the Font class.
Public method Supported by the .NET Compact Framework DrawText Overloaded. Draws formatted text.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework MeasureString Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object.
Public method Supported by the .NET Compact Framework OnLostDevice Releases all references to video memory resources and deletes all state blocks.
Public method Supported by the .NET Compact Framework OnResetDevice Reinitializes settings after a device is reset.
Public method Supported by the .NET Compact Framework PreloadText Loads formatted text into video memory to improve the efficiency of rendering to a device.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Top

Public Events

  Name Description
Public event Supported by the .NET Compact Framework Disposing Occurs when the Dispose method is called or when the Font object is finalized and collected by the garbage collector.

Top

See Also

Reference

Font Class
Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming