Chapter 18. Working with Graphics

What You’ll Learn in This Hour:

  • Understanding the Graphics object

  • Working with pens

  • Using system colors

  • Working with rectangles

  • Drawing shapes

  • Drawing text

  • Persisting graphics on a form

Visual C# provides an amazingly powerful array of drawing capabilities. However, this power comes at the price of a steeper learning curve. Drawing isn’t intuitive; you can’t sit down for a few minutes with the online Help text and start drawing graphics. However, after you learn the basic principles involved, you’ll find that drawing isn’t that complicated. In this hour, you’ll learn the basic skills for drawing shapes and text to a form or other graphical surface. You’ll learn about pens, colors, and brushes (objects that help define ...

Get Sams Teach Yourself Microsoft® Visual C#® 2005 in 24 Hours, Complete Starter Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.