>
VB2019 VB2017 VB2015 VB2013 VB2012 VB2010 VB2008 VB6 VB Sample Code 中文VB About Us

Lesson 26 : Filling Shapes with Color


In this Lesson, we will illustrate how to fill the shapes with colors. In Visual Basic 2010, three methods are used to fill shapes are FillRectangle, FillEllipse, FillPolygon and FillPie.In order to fill the aforementioned shapes with color, we have to create the Brush object using the following syntax:

myBrush = New SolidBrush(Color.myColor)

Where myColor can be any color such as red, blue, yellow and more. You don’t have to worry about the names of the colors because the intelligence will display the colours and enter the period after the Color key word.

To learn the details, we suggest you grab a copy of Visual Basic 2010 Made Easy.

Price: $20.00

AUTHOR: DR. LIEW VOON KIONG

Dear Friend

Visual Basic 2010 Made Easy is an eBook authored by the webmaster of our Visual Basic 2010 Tutorial, Dr.Liew. With more than 200 pages of contents, it complements our free online tutorial by providing a complete tutorial for beginners.

Preview the Book

By reading this book, you can:

  • Understand the basic concepts of Visual Basic 2010 programming
  • Create your own VB2010 programs right from the beginning
  • Get programming ideas from many interesting sample programs.
  • Modify the codes easily to suit your needs.
  • Learn how to package and distribute your applications.

You need PayPal account to order this E-book. If you don't have PayPal Account, get your PayPal account by clicking the banner below:

Sign up for PayPal and start accepting credit card payments instantly.


*Please wait for 10 seconds for PayPal to redirect you to E-book Download Page after ordering and making payment.

Mode of Delivery: Download

Warmest Regards

(Dr.Liew)

Disclaimer

This site and the products and services offered on this site are not associated, affiliated, endorsed, or sponsored by Microsoft, nor have they been reviewed tested or certified by Microsoft.

Contact Information

If you require assistant and technical support, please contact:Admin


Copyright©2008 Dr.Liew Voon Kiong. All rights reserved |Contact|Privacy Policy