Click or drag to resize

DocumentexportActiveVisualAsImage Method

Export the active visual as image. The image will be opened in a new browser tab or window.

Namespace:  spotfire.webPlayer
Assembly:  ~/GetJavaScriptApi.ashx?Version=11.8
Syntax
JavaScript
function exportActiveVisualAsImage(width, height);

Parameters

width
Type: Systemint
The width of the exported image. Default value is 800px.
height
Type: Systemint
The height of the exported image. Default value is 600px.
Version Information

Supported in: 11.8, 11.7, 11.6, 11.5, 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also