Gets a value indicating whether this instance is a static view.
A static view is used for printing, export and preview generation.
Use this property to turn off animations and other features not desired in this case.
Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public bool IsStatic { get; }
Property Value
Type: Booleantrue if this instance is static; otherwise, false.
Remarks
window.addEventListener("SpotfireLoaded", function () { if (Spotfire.viewProperties.isStatic) { console.log("Render static custom visual."); } }
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