Share

DockablePaneState.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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public void SetFloatingRectangle(
	Rectangle rect
)

Parameters

rect  Rectangle
The rectangle to use when floating.

Exceptions

ExceptionCondition
ArgumentException Rectangle is not normalized.
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?