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 description As FontDescription _
)
C# public Font(
    Device device,
    FontDescription description
);
Managed C++ public: Font(
    Device *device,
    FontDescription description
);
JScript .NET public function Font(
    device : Device,
    description : FontDescription
);

Parameters

device Microsoft.DirectX.Direct3D.Device. A Device object to associate with the font object.
description Microsoft.DirectX.Direct3D.FontDescription. A FontDescription structure.

© 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