Gets the bounds of a visual given a rectangle defining a visualization area.
Namespace: Spotfire.Dxp.ApplicationAssembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax
Parameters
- visual
- Type: Spotfire.Dxp.Application Visual
A visual.
- visualizationAreaBounds
- Type: System.Drawing Rectangle
A rectangle defining a visualization area.
Return Value
Type: RectangleThe bounds the visual would have, given the bounds of a visualization area.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | If visual is null. |
System ArgumentException | If visual is not part of the Visuals collection on this page, or visualizationAreaBounds does not have positive width or height. |
Remarks
The returned rectangle is not adjusted for margins.
Version Information
See Also