Skip to content

UIApplication.DrawingAreaExtents

Public Property

Get the rectangle that represents the screen pixel coordinates of drawing area.

Namespace: Autodesk.Revit.UI

Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public virtual Rectangle DrawingAreaExtents { get; }

Property Value

Rectangle

Remarks

The drawing area of the Revit window displays views (and sheets and schedules) of projects. The size of drawing area restricts the max size of the view titles and windows, the value may be empty if modal browser is opened. If there is no project opened, null will be returned.