PageGetVisualizationAreaSize Method

Spotfire 14.3 API Reference
Gets the size of the visualization area in the user interface.

Namespace:  Spotfire.Dxp.Application
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public Size GetVisualizationAreaSize()

Return Value

Type: Size
The size of the visualization area in pixels.
Remarks

All the visuals are displayed in the visualization area at the center of the page. The panels are docked to the sides around the visualization area.

The size of the visualization area is controlled by the user interface. In order to get a reliable and up to date result from this method, the user interface must be allowed to run its layout code. This can be forced by setting the ActivePageReference property on the document.

If the application has no running user interface, this method returns Size.Empty.

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

Reference