CustomVisualViewIsStatic Property

TIBCO Spotfire 11.4 API Reference
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: 51.0.16121.3915 (51.0.16121.3915)
Syntax

C#
public bool IsStatic { get; }

Property Value

Type: Boolean
true if this instance is static; otherwise, false.
Remarks

This property is also available directly from JavaScript using:
$(window).on("SpotfireLoaded", function ()
{
  if (Spotfire.viewProperties.isStatic) {
    console.log("Render static custom visual.");
  }
}
Version Information

Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference