theaford at btinternet.com
Mon Jun 22 02:58:29 EDT 2020
That’s the solution I was thinking about.
It’s probably necessary to capture the screen image at a larger size for printing as I suspect otherwise the
printed output will be rather blurred.
> On 21 Jun 2020, at 13:46, Andrew at MidWest Coast Media <andrew at midwestcoastmedia.com> wrote:
>> 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"
> —Andrew Bell
More information about the use-livecode