S
Stan Sainte-Rose
Hi
I would like to thank Jon about my previous post.
I have another question about image that I transform on fly.
I use a routine like this :
Dim bmp As Bitmap = Drawing.Image.FromFile(OriginalFile)
Dim g As Graphics = Graphics.FromImage(bmp)
g.DrawString("s", New Font("Arial", 12,
FontStyle.Italic), _
SystemBrushes.WindowText, New PointF(100, 100))
g.ResetTransform()
bmp.Save(Response.OutputStream, ImageFormat.Jpeg)
g.Dispose()
bmp.Dispose()
I would like to display the image into a Cell tab.
My idea was to add a Image Control in the tab cell
and use the ImageUrl property.
But when I try this :
bmp.Save("FileName", ImageFormat.Jpeg)
I get an GDI error (ExternalException (0x80004005) )
Any Help ?
Stan
I would like to thank Jon about my previous post.
I have another question about image that I transform on fly.
I use a routine like this :
Dim bmp As Bitmap = Drawing.Image.FromFile(OriginalFile)
Dim g As Graphics = Graphics.FromImage(bmp)
g.DrawString("s", New Font("Arial", 12,
FontStyle.Italic), _
SystemBrushes.WindowText, New PointF(100, 100))
g.ResetTransform()
bmp.Save(Response.OutputStream, ImageFormat.Jpeg)
g.Dispose()
bmp.Dispose()
I would like to display the image into a Cell tab.
My idea was to add a Image Control in the tab cell
and use the ImageUrl property.
But when I try this :
bmp.Save("FileName", ImageFormat.Jpeg)
I get an GDI error (ExternalException (0x80004005) )
Any Help ?
Stan