| Revit 2023 API |
| View..::..Print Method (View) |
| View Class See Also |
Print this view with the given view template and using the print setting of the current active document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Syntax
| C# |
|---|
public void Print( View viewTemplate ) |
| Visual Basic |
|---|
Public Sub Print ( _ viewTemplate As View _ ) |
| Visual C++ |
|---|
public: void Print( View^ viewTemplate ) |
Parameters
- viewTemplate
- Type: Autodesk.Revit.DB..::..View
The view template which apply to the view.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when the view cannot be printed. |