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 |
|---|---|---|
| Close() | None | Closes the view. |
| Dispose() | None | Releases all resources used by the |
| 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. |
| ZoomAndCenterRectangle(XYZ, XYZ) | None | Zoom and center the view to a specified rectangle. |
| Zoom(Double) | None | Zoom the view. |
| ZoomSheetSize() | None | Zoom to the sheet size. |
| ZoomToFit() | None | Zoom the view to fit its contents. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| ViewId | ElementId | The id of the View associated with a UIView. |