Andrew at MidWest Coast Media
andrew at midwestcoastmedia.com
Sun Jun 21 08:46:40 EDT 2020
> Looking at amCharts.
> Got a chart displaying easily within the browser widget.
> Tries to print the card but the widget does not print.
set the width of templateImage to the width of widget "Browser"
set the height of templateImage to the height of widget "Browser"
export snapshot from rect globalRect(the rect of widget "Browser") to tSnapshot as JPEG
create image “renderedBrowser"
set the visible of widget “Browser” to FALSE
put tSnapshot into image tSnapshotName
set the name of image tSnapshotName to tSnapshotName
set the loc of image tSnapshotName to the loc of widget “Browser"
More information about the use-livecode