Adds the specified Visual to the current
section. BeginStackedSection or
BeginSideBySideSection should be called prior to
this.
Namespace: Spotfire.Dxp.Application.Layout
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
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
Exception | Condition |
---|---|
InvalidOperationException | If this method is called before any section is created. |
ArgumentNullException | If visual is null. |
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also