The zoom value to a percentage of the original size.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
public int Zoom { get; set; } |
| Visual Basic |
|---|
Public Property Zoom As Integer Get Set |
| Visual C++ |
|---|
public: property int Zoom { int get (); void set (int value); } |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown if current ZoomType is not Zoom type. |
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | Thrown if input zoom value less than 1. |