My application generates images dynamic. These images are
then used for an image button like in the beneath.
Dim ob As Bitmap = New Bitmap(130, 30)
Dim banner As Graphics = Graphics.FromIm age(ob)
Dim tempfilepath As String = System.IO.Path. GetTempPath
ob.Save(tempfil epath & "temp.jpg",
Imaging.ImageFo rmat.Jpeg)
image_button.Im ageUrl = tempfilepath & CType(i, String) &
"temp.jpg"
Is it also possible to add this graphic with the help of
Response.Binary Write etc.? If yes how must the code luck like?
Thanks for all help
Jenny
then used for an image button like in the beneath.
Dim ob As Bitmap = New Bitmap(130, 30)
Dim banner As Graphics = Graphics.FromIm age(ob)
Dim tempfilepath As String = System.IO.Path. GetTempPath
ob.Save(tempfil epath & "temp.jpg",
Imaging.ImageFo rmat.Jpeg)
image_button.Im ageUrl = tempfilepath & CType(i, String) &
"temp.jpg"
Is it also possible to add this graphic with the help of
Response.Binary Write etc.? If yes how must the code luck like?
Thanks for all help
Jenny
Comment