EDN Admin
Well-known member
I am wondering if it is possible to generate an image of a form/document then serve that to a user.
For example if I want to dynamiclly generate a form with todays weather information on it for all major US cities. I create and style the form the way that I want, then in the code I instantiate the form passing the values that I need for populating. That form is then sent to a class that will internally render it into an image and return it. The image can then be displayed or saved to disk.
Ive seen code for doing this with websites, but thats using a brower type object that is non-visible to the user. I want to do this for a created form object residing on the server that I will dynamiclly populate with data.
Ive looked at the GDI graphic class by theres not much there for what Im looking for. I am wondering if there is something that I can display the form in, similar to the website thumbnail idea.
Thx
View the full article
For example if I want to dynamiclly generate a form with todays weather information on it for all major US cities. I create and style the form the way that I want, then in the code I instantiate the form passing the values that I need for populating. That form is then sent to a class that will internally render it into an image and return it. The image can then be displayed or saved to disk.
Ive seen code for doing this with websites, but thats using a brower type object that is non-visible to the user. I want to do this for a created form object residing on the server that I will dynamiclly populate with data.
Ive looked at the GDI graphic class by theres not much there for what Im looking for. I am wondering if there is something that I can display the form in, similar to the website thumbnail idea.
Thx
View the full article