Text sample

Hello world form



 

Compiling

Running

After launching the application, you will see a window displayed with a similar appearance to the one above.

 

Under the Hood

This sample show how to draw some text in a window, using different brushes, different fonts, different style and different colors.

This sample contains the following class:

Notes

This sample is translated from the example located in the QuickStart\winforms\samples\gdiplus subdirectory of the .NET Framework SDK samples directory of Microsoft Visual Studio .NET.