tracedaa.blogg.se

Set pen style vb.net
Set pen style vb.net













set pen style vb.net

It goes without saying that the PictureBox control exposes a Graphics property, but so does the TextBox control, as well as many controls you wouldn’t expect. Conversely, if an object doesn’t expose the CreateGraphics method, you can’t draw on its surface. All the controls you can draw on expose a Graphics property, which is an object, and you can retrieve it with the CreateGraphics method. The Graphics object is the drawing surface - your canvas. No matter what you draw or which drawing instrument you use, one or more of the objects discussed in this section will be required.

set pen style vb.net set pen style vb.net

This is a good point to introduce some of the objects we’ll be using all the time when drawing.















Set pen style vb.net