Hour 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 graphics that you draw). In addition, you'll learn how to persist graphics on a formand even how to create bitmaps that exist solely in memory.




Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net