Gets the bounds of a visual in the user interface.
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
The Visual to get the bounds for.
Return Value
Type: RectangleCurrent bounds.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | If visual is null. |
System ArgumentException | If visual is not part of the Visuals collection on this page. |
Remarks
If no user interface is present, or if the user interface has not displayed this visual yet, the method returns Rectangle.Empty.
The rectangle is relative to the visualization area of a page. It is not adjusted for margins.
Version Information
See Also