Follow Step:
1. You must add the Html2CanvasImageDownload weblock to your screen, so that the necessary library is imported:
Like this:
2. If you use the action Html2CanvasImageDownload
the download is done automatically, it is not necessary to use the outsystems download widget
Input Parameters:
ContainerID: the div you want to print
ImageType: PNG or JPG
FileName: name of the file that will appear in the download
3. If you use the action Html2CanvasImageAndConvertBinary
Output Parameters:
Base64Image
BinaryImage