View.Print(View) Method

ViewPrint(View) Method

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: 26.0.4.0 (26.0.4.0)
Syntax
public void Print(
	View viewTemplate
)
Public Sub Print ( 
	viewTemplate As View
)
public:
void Print(
	View^ viewTemplate
)
member Print : 
        viewTemplate : View -> unit 

Parameters

viewTemplate  View
The view template which apply to the view.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when the view cannot be printed.
See Also