When %dockPosition% is Floating, sets the rectangle used to determine the size and position of the pane when %dockPosition% is Floating. Coordinates are relative to the upper-left-hand corner of the main Revit window.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void SetFloatingRectangle( Rectangle rect )
Parameters
- rect Rectangle
- The rectangle to use when floating.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Rectangle is not normalized. |
| ArgumentNullException | A non-optional argument was null |
