Instructions
Use the dropdown boxes below to change Web Graphical Text properties.
Click the Update button to apply the changes to both Web Graphical Text s
(streamed and filed).
Note that these properties represent only a small subset of the available
properties.
How does the Web Graphical Text work?
When a Web Graphical Text is set to function as a file, the image is
created and saved as a file. Then the Web Graphical Text 's ImageUrl
property (inherited from the Image web control class) is set to this
file.
'The following is from the Web Shape code:
baseBitmap.Save(imgFile, Me.ImageFileFormat)
Me.ImageUrl = imgFile
When a Web Graphical Text is set to work as a stream, the image is
first saved as a MemoryStream and then written to the screen:
'The following is from the Web Shape
code:
Dim memory As New MemoryStream()
baseBitmap.Save(memory, Me.ImageFileFormat)
memory.WriteTo(Page.Response.OutputStream)
What's going on with the 'streamed' Web Graphical Text in this
demo?
The streamed Web Graphical Text is on its own form (streaming.aspx).
That form is shown in an Image object (Image1) on this form
(WebGTextDemoPage1.aspx).