GDI plus - text

Hello world form


Compiling

To compile the example:

  1. Launch EiffelStudio.
  2. Click Add project
  3. Browse to $ISE_EIFFEL\examples\dotnet\gdi_plus\text\
  4. Choose text.ecf
  5. Choose the location where the project will be compiled, by default the same directory containing the configuration file.
  6. Click Open.

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 uses the following class:

  • FORM

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.