Creating Image file
- From: "Ashok" <ashok83t@xxxxxxxxx>
- Date: 5 Feb 2007 20:35:52 -0800
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
.
- Follow-Ups:
- Re: Creating Image file
- From: <ctacke/>
- Re: Creating Image file
- Prev by Date: Re: why can not use ColorDialog
- Next by Date: Re: Creating Image file
- Previous by thread: Re: why can not use ColorDialog
- Next by thread: Re: Creating Image file
- Index(es):
Relevant Pages
|