2027 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 Inherited From
M Close() None Closes the view.
M Dispose() None Releases all resources used by the UIView
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
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 ToString None Returns a string that represents the current object. (Inherited from Object ) Object
M Zoom(Double) None Zoom the view.
M ZoomAndCenterRectangle(XYZ, XYZ) None Zoom and center the view to a specified rectangle.
M ZoomSheetSize() None Zoom to the sheet size.
M ZoomToFit() None Zoom the view to fit its contents.
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P ViewId ElementId The id of the View associated with a UIView.