ImageFromHtml Example

The ImageFromHtml macro can be used to create an image of a specified web page. Just specify the location, an image width and height. The macro returns its result as byte-array, so use e.g. the response.writebytes() viper to send the image to the client.

Smartsite SXML CopyCode image Copy Code
<se:imagefromhtml location="" width="1024" height="768" save="image" />