A
Ashok
Hi All..
I am working in developing an application that draw a image using
Drawline by joining the co-ordinates.
I am successfull in doing that. But i want to save the drawn image as
image file any of the format.
The following code snippet is used to draw the image...
Sub subMarkPoint(ByVal PicBox As PictureBox)
Dim bmp As New Bitmap(PicBox.Width, PicBox.Height)
Dim gr As Graphics = Graphics.FromImage(bmp)
Dim i As Integer
For i = 0 To (UBound(arrx) - 1)
gr.DrawLine(New Pen(Color.Green), arrx(i + 1), arry(i +
1), arrx(i), arry(i))
Next
PicBox.Image = bmp
End Sub
This will draw the image in picturebox
in that arrx() and arry() values are loaded dynamically.
so i need some tips and code snippets to make my work finish.
Thanks in advance....
Ashok
I am working in developing an application that draw a image using
Drawline by joining the co-ordinates.
I am successfull in doing that. But i want to save the drawn image as
image file any of the format.
The following code snippet is used to draw the image...
Sub subMarkPoint(ByVal PicBox As PictureBox)
Dim bmp As New Bitmap(PicBox.Width, PicBox.Height)
Dim gr As Graphics = Graphics.FromImage(bmp)
Dim i As Integer
For i = 0 To (UBound(arrx) - 1)
gr.DrawLine(New Pen(Color.Green), arrx(i + 1), arry(i +
1), arrx(i), arry(i))
Next
PicBox.Image = bmp
End Sub
This will draw the image in picturebox
in that arrx() and arry() values are loaded dynamically.
so i need some tips and code snippets to make my work finish.
Thanks in advance....
Ashok