![]() |
![]() |
![]() |
Font.Font Constructor |
Language: |
Creates a new instance of a Font class.
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
);
device Microsoft.DirectX.Direct3D.Device. A Device object to associate with the font object. description Microsoft.DirectX.Direct3D.FontDescription. A FontDescription structure.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center