| Revit 2021.1 API | 
| View..::..Print Method | 
| View Class See Also | 
Print this view with the default view template and using the print setting of the current active document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
 Syntax
Syntax
| C# | 
|---|
| public void Print() | 
| Visual Basic | 
|---|
| Public Sub Print | 
| Visual C++ | 
|---|
| public: void Print() | 
 Exceptions
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when the view cannot be printed. |