Print a view with the current PrintManager settings.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
public bool SubmitPrint( View view ) |
| Visual Basic |
|---|
Public Function SubmitPrint ( _ view As View _ ) As Boolean |
| Visual C++ |
|---|
public: bool SubmitPrint( View^ view ) |
Parameters
- view
- Type: Autodesk.Revit.DB..::..View
The User-assigned view.
Return Value
True if successful, otherwise False.
Remarks
PrintManager will apply the local settings to global and print the user-assigned view with the current settings.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when this operation is not allowed in the current application mode, or the print resource is occupied by others. |