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.
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.
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. |