Click or drag to resize

Document.exportActiveVisualAsImage 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.5
Syntax
JavaScript
function exportActiveVisualAsImage(width, height);

Parameters

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

Supported in: 14.5, 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also