DocumentPrint(ViewSet, View, Boolean) Method |
Prints a set of views with a specified view template and default print settings.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic void Print(
ViewSet views,
View viewTemplate,
bool useCurrentPrintSettings
)
Public Sub Print (
views As ViewSet,
viewTemplate As View,
useCurrentPrintSettings As Boolean
)
public:
void Print(
ViewSet^ views,
View^ viewTemplate,
bool useCurrentPrintSettings
)
member Print :
views : ViewSet *
viewTemplate : View *
useCurrentPrintSettings : bool -> unit
Parameters
- views ViewSet
- The set of views which need to be printed.
- viewTemplate View
- The view template which apply to the set of views.
- useCurrentPrintSettings Boolean
- If true, print the view with the current print setting,
otherwise with the print setting of the document of the view.
Exceptions
RemarksIf one view in the set can not be printed successfully then an exception will be thrown.
See Also