newcodeguywd
New member
- Joined
- May 21, 2012
- Messages
- 3
- Programming Experience
- Beginner
Hello,
I have some code that grabs 3 images from separate pictureboxes and creates 1 image from them in a different picturebox
The code works but the image is flat I want the image to be a box
I have tried using ControlPaint.DrawBorder3D(g, New Rectangle(10, 10, 200, 200))
to no avail. after quite a few hours today doing this and searching with not much success I decided to join this forum and see if anyone could help me out
I must be missing something. Here is my code for grabbing the images and creating the image from them
If anyone would mind taking time out of their day to help me I would appreciate it
thanks and have a great day
-WD
I have some code that grabs 3 images from separate pictureboxes and creates 1 image from them in a different picturebox
The code works but the image is flat I want the image to be a box
I have tried using ControlPaint.DrawBorder3D(g, New Rectangle(10, 10, 200, 200))
to no avail. after quite a few hours today doing this and searching with not much success I decided to join this forum and see if anyone could help me out
I must be missing something. Here is my code for grabbing the images and creating the image from them
VB.NET:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim Image1 As New Bitmap(picside.Image)
Dim Image2 As New Bitmap(pictop.Image)
Dim image3 As New Bitmap(picfront.Image)
Dim Image4 As New Bitmap(400, 400)
Dim g As Graphics = Graphics.FromImage(Image4)
g.DrawImage(Image1, New Point(5, 0))
g.DrawImage(Image2, New Point(5, -390))
g.DrawImage(image3, New Point(40, 10))
g.DrawImage(Image4, New Point(0, 0))
g.Dispose()
g = Nothing
picmain.Image = Image4
End Sub
thanks and have a great day
-WD