Dynamic Images
IntraWeb differentiates between static and dynamic images. Static images are images that do not change and are cached in the browser. Dynamic images are images that are updated in code. Handling dynamic images without IntraWeb requires a lot of code to handle image format conversions, streaming to disk, URL referencing and more. With IntraWeb it is as simple as using a WebImage component. Here is an example of a dynamic image in action. This is the map form from the Features demo.
Dynamic Map Demo
(Flash recording - requires flash to view)
While a map is used in this demo, and image may be used. Dynamic images are useful for other purposes too such as charts, graphs, interactive image maps, clickable content, and more. You might expect that the source for this demo is complex. But in fact is not - it is very simple and very similar to what might appear in a normal WinForms application.
Map Form - Design Time

This is an IntraWeb form with an Label, and a WebImage component. The image was loaded at design time using the property inspector.
Map Form - Source Code

That's it! Just standard code to draw on the image.
|