SetFloatingRectangle Method


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: 2015.0.0.0 (2015.0.0.0)
Since: 2014

Syntax

C#
public void SetFloatingRectangle(
	Rectangle rect
)
Visual Basic
Public Sub SetFloatingRectangle ( _
	rect As Rectangle _
)
Visual C++
public:
void SetFloatingRectangle(
	Rectangle^ rect
)

Parameters

rect
Type: Autodesk.Revit.UI Rectangle

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Rectangle is not normalized.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also