M

DrawContext.GetViewRectangle

Description:
Gets the rectangle that represents the extent (in 2D) of the Revit view where rendering takes place.
public static Rectangle GetViewRectangle()
The view rectangle. The view rectangle.