Microsoft DirectX 9.0 SDK Update (October 2004)

Font.Font Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Creates a new instance of a Font class.

Definition

Visual Basic .NET Public Sub New( _
    ByVal device As Device, _
    ByVal font As Font _
)
C# public Font(
    Device device,
    Font font
);
Managed C++ public: Font(
    Device *device,
    Font *font
);
JScript .NET public function Font(
    device : Device,
    font : Font
);

Parameters

device Microsoft.DirectX.Direct3D.Device. A Device object to associate with the font object.
font System.Drawing.Font. The Font Leave Site object.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center