Bruce Axtens Active Member Licensed User Longtime User Jan 4, 2015 #1 Is there a way, in B4J, to load a web page into a buffer, render all its graphics and then capture specific HighCharts charts from the page? I have code to do this (JScript calling InternetExplorer.Application) but it's a bit clunky. Here's another way of asking the same thing: Is there a way of loading a web page into a local DOM container for traversal? Last edited: Jan 4, 2015
Is there a way, in B4J, to load a web page into a buffer, render all its graphics and then capture specific HighCharts charts from the page? I have code to do this (JScript calling InternetExplorer.Application) but it's a bit clunky. Here's another way of asking the same thing: Is there a way of loading a web page into a local DOM container for traversal?
Erel B4X founder Staff member Licensed User Longtime User Jan 4, 2015 #2 You can convert any node to an image with the Snapshot method. The simplest solution will probably be to inject JavaScript to show only the element you are interested in and then take a snapshot with WebView.Snapshot. Upvote 0
You can convert any node to an image with the Snapshot method. The simplest solution will probably be to inject JavaScript to show only the element you are interested in and then take a snapshot with WebView.Snapshot.