Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

WebView.RenderImage

Component: WebView
Version: 2.1
Mac OS X: Works
Windows: Not implemented.

MBS( "WebView.RenderImage"; WebViewerRef; ImageType; Filename )

Parameters

Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
ImageType Optional, the type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG. "JPEG"
Filename Optional, the filename to use for the picture. Default is "image" with the extension matching the image type. "test.jpg"
Resolution Optional, the resolution to render the image with. Default is 72. 72

Result

Returns a container with a JPEG picture of the webpage. You can store it in a media field.

Description

Renders the webview to a picture.
With plugin version 2.4 you can specify format with ImageType parameter.

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - Pfarrgemeinde Ministranten Nickenich