UIViewGetWindowRectangle Method

Gets the rectangle containing the coordinates of the view's drawing area.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public Rectangle GetWindowRectangle()

Return Value

Rectangle
The rectangle of the view window.
See Also