2022 Class
Changes 0
C

UIView

Description:
A class containing data about view windows in the Revit user interface.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.UIView
public class UIView : IDisposable
Name Return Type Description
M Close() None Closes the view.
M Dispose() None Releases all resources used by the
M GetWindowRectangle() Rectangle Gets the rectangle containing the coordinates of the view's drawing area.
M GetZoomCorners() IList<XYZ> Gets the corners of the view's rectangle. The two points that define the corners of the view's rectangle in model coordinates.
M ZoomAndCenterRectangle(XYZ, XYZ) None Zoom and center the view to a specified rectangle.
M Zoom(Double) None Zoom the view.
M ZoomSheetSize() None Zoom to the sheet size.
M ZoomToFit() None Zoom the view to fit its contents.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P ViewId ElementId The id of the View associated with a UIView.