2 // Sample that show the default SystemFonts and its names
3 // Requieres .NET 2.0 class library
10 public class SystemFontsSample
12 public static void Main ()
14 Bitmap bmp = new Bitmap (800, 800);
15 Graphics gr = Graphics.FromImage (bmp);
17 gr.CopyFromScreen (0, 0/*src*/, 0,0 /*dst*/, new Size (800, 800));
18 bmp.Save ("CopyFromScreen.bmp");