DockablePaneState.SetFloatingRectangle
Method
Description:
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.
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| rect | Rectangle | The rectangle to use when floating. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Rectangle is not normalized. |
| ArgumentNullException | A non-optional argument was null |