Picture box draw commands? and text in a picture box? how
-
could someone show me all the commands used for drawing in a picture box? (an example each would be helpful)? is it possible to draw text in a picture box? preferabley without having to draw each pixel of each letter, u know like is there a command i could use? and could i make it centered? thank you --------------------- And Like The Wind Our Hero Vanishes Off Into The Distance...
-
could someone show me all the commands used for drawing in a picture box? (an example each would be helpful)? is it possible to draw text in a picture box? preferabley without having to draw each pixel of each letter, u know like is there a command i could use? and could i make it centered? thank you --------------------- And Like The Wind Our Hero Vanishes Off Into The Distance...
You didn't mention which version of VB, so I'll assume VB.NET. First, you create a Graphics object from the PictureBox's CreateGreaphics method. Then you can use the Graphics object to draw on the PictureBox. The PictureBox itself doesn't have any drawing methods. See the documentation on the Graphics class for explanations and examples. There is just way too much information to post here. System.Drawing.Graphics class docs[^] RageInTheMachine9532
-
You didn't mention which version of VB, so I'll assume VB.NET. First, you create a Graphics object from the PictureBox's CreateGreaphics method. Then you can use the Graphics object to draw on the PictureBox. The PictureBox itself doesn't have any drawing methods. See the documentation on the Graphics class for explanations and examples. There is just way too much information to post here. System.Drawing.Graphics class docs[^] RageInTheMachine9532
actually i need it for vb 6 thank you --------------------- And Like The Wind Our Hero Vanishes Off Into The Distance...
-
actually i need it for vb 6 thank you --------------------- And Like The Wind Our Hero Vanishes Off Into The Distance...