Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
C# Programming

Tutorial: Using the documentation about Font

 

In these examples students are encouraged to search the documentation to find out how to use various features.

1. How to draw a String


Big

Write the String "Hello World" at position 10, 20.
Hint:

2. How to draw a String


Big

Change the font to "Times" size 20 and draw the String "Hello World" at 10,15.
Hint:

3. Draw the name of the font


Big

Create a font with a blank font-family name. Print the name of the font that gets created.

4. Bold italic


Big

Use a different constructor to write the text in bold and italic. Draw "Hello World" to 10,30.

Hint: