ClientStation.PrintLayoutDefaultPrinter Method

Begin print current layout
<ID("PrintLayoutDefaultPrinter", (int)e.PrintLayoutDefaultPrinter)> _ 
<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)> _ 
Public Function PrintLayoutDefaultPrinter( _ 
ByVal pageOrientation As Integer
) As Boolean
This language is not supported or no code example is available.
[ID("PrintLayoutDefaultPrinter", (int)e.PrintLayoutDefaultPrinter)] 
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)] 
public bool PrintLayoutDefaultPrinter( 
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