ClientStation.PrintScreenDefaultPrinter Method

Print desktop using default printer
<ID("PrintScreenDefaultPrinter", (int)e.PrintScreenDefaultPrinter)> _ 
<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)> _ 
Public Function PrintScreenDefaultPrinter( _ 
ByVal pageOrientation As Integer
) As Boolean
This language is not supported or no code example is available.
[ID("PrintScreenDefaultPrinter", (int)e.PrintScreenDefaultPrinter)] 
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)] 
public bool PrintScreenDefaultPrinter( 
int pageOrientation 
)
This language is not supported or no code example is available.

Parameters

pageOrientation
int

0: Portrait, 1: Landscape

Return Value

bool

Flag indicating success (true) or fail (false)

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition