RVTDocs.com
Namespace: Autodesk.Revit.DB Class: View

View.Print(View, Boolean)

Method
Description:
Print this view with the given view template, and either the view's document's print setting or the print setting of the current active document.
Syntax
public void Print(
	View viewTemplate,
	bool useCurrentPrintSettings
)
Parameters
Parameter Type Description
viewTemplate View The view template which apply to the view.
useCurrentPrintSettings Boolean If true, print the view with the print setting of the current active document; otherwise with the view's document's print setting.
Return Value
Exceptions
Exception Condition
InvalidOperationException Thrown when the view cannot be printed.