DocumentPrint(ViewSet, Boolean) Method |
Prints a set of views with default 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,
bool useCurrentPrintSettings
)
Public Sub Print (
views As ViewSet,
useCurrentPrintSettings As Boolean
)
public:
void Print(
ViewSet^ views,
bool useCurrentPrintSettings
)
member Print :
views : ViewSet *
useCurrentPrintSettings : bool -> unit
Parameters
- views ViewSet
- The set of views which need to be printed.
- 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