WHITE PAPERS  |  PRICING  |  DOWNLOADS

 

username

password

 

 

 

 

 

 

 

 

 

 

  Swing Edition Details  

 

  > Features  

  > Key Benefits  

  > Screenshots  

  > Standards Supported  

  > Pricing  

  > Download Now

 

 

  Developer Resources  

 

  > API Documentation  

  > Developers Guide  

  > Code Examples  

  > Updated Builds  

  > Technical Articles  

 

 

 

 

 

Jump to:

General WebRenderer Functions

  WebRenderer example code base.

 

Advanced WebRenderer functions

 

Application test examples

 

Deploying WebRenderer

WebRenderer DOM

  

  

 

Save to File

 

 

 

Saving files displayed by WebRenderer

The IBrowserCanvas method saveToFile saves the page being displayed to a local directory. The saveToFile method will also save DOM altered documents.

IBrowserCanvas browser = BrowserFactory.spawnMozilla();

//Saving a file to a local directory, please note that you must pass the new files name such as 'myfile.html'
browser.saveToFile("c:\\myfile.html");

This saveToFile method also saves all image and resource files such as css files attached to the document.

  top

 

 

 Sun, Sun Microsystems, and the Sun Logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries 

Privacy Policy  |   Disclaimer