LayoutDefinitionAdd Method (Visual, Single)

Spotfire 14.3 API Reference

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

C#
public void Add(
	Visual visual,
	float proportion
)

Parameters

visual
Type: Spotfire.Dxp.ApplicationVisual
The Visual to be added.
proportion
Type: SystemSingle
The proportion of this element relative to its siblings. Must be greater than 0.
Exceptions

ExceptionCondition
InvalidOperationExceptionIf this method is called before any section is created.
ArgumentNullExceptionIf visual is null.
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