Home All Groups Group Topic Archive Search About

How can I to fill a polygon?

Author
27 Sep 2006 6:57 PM
Carlos Villaseñor
Hi everybody!

I'm still new in VB and need to fill a polygon with a color ¿does exist some
code to help me to do that?

I appreciate some help.

Thank you
Carlos Villaseñor

Author
27 Sep 2006 9:22 PM
GhostInAK
Hello Carlos,

Check out System.Drawing.Graphics

-Boo

Show quoteHide quote
> Hi everybody!
>
> I'm still new in VB and need to fill a polygon with a color ¿does
> exist some code to help me to do that?
>
> I appreciate some help.
>
> Thank you
> Carlos Villaseñor
Author
27 Sep 2006 9:27 PM
AMercer
> I'm still new in VB and need to fill a polygon with a color ¿does exist some
> code to help me to do that?

Have a look at DrawPolygon() and FillPolygon() in System.Drawing.Graphics.
Some samples may be found in .net help.