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=14.3
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: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also