WorkflowView.PrintPreviewMode Property


Gets or sets the print preview mode of the WorkflowView.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

Public Property PrintPreviewMode As Boolean

Property Value

Type: System.Boolean

true if print preview mode is active; otherwise, false.

The following example shows how to change the WorkflowView object so that it displays the current workflow in print preview mode.

Public Sub PrintPreview(ByVal enablePrintPreview As Boolean)
    Me.workflowView.PrintPreviewMode = enablePrintPreview
End Sub

.NET Framework
Available since 3.0
Return to top