Font.Font Constructor

Language:

Creates a new instance of a Font class.

Definition

Visual Basic Public Sub New( _
    ByVal device As Device, _
    ByVal description As FontDescription _
)
C# public Font(
    Device device,
    FontDescription description
);
C++ public:
 Font(
    Devicedevice,
    FontDescription description
);
JScript 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.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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