Font.Font Constructor

Language:

Creates a new instance of a Font class.

Definition

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

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