ClientStation.PrintDisplayDefaultPrinter Method

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

Parameters

displayName
string

Display name

pageOrientation
int

0: Portrati, 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