UIView
Description:
A class containing data about view windows in the Revit user interface.
A class containing data about view windows in the Revit user interface.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.UI.UIView
System.Object
Autodesk.Revit.UI.UIView
public class UIView : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Close() | None | Closes the view. | |
| Dispose() | None | Releases all resources used by the UIView | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| GetWindowRectangle() | Rectangle | Gets the rectangle containing the coordinates of the view's drawing area. | |
| 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. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Zoom(Double) | None | Zoom the view. | |
| ZoomAndCenterRectangle(XYZ, XYZ) | None | Zoom and center the view to a specified rectangle. | |
| ZoomSheetSize() | None | Zoom to the sheet size. | |
| ZoomToFit() | None | Zoom the view to fit its contents. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| ViewId | ElementId | The id of the View associated with a UIView. |