Print a XPS document to printer
Namespace:
T.Toolkit
Assembly: T.Toolkit (in T.Toolkit.dll)
Public Shared Function PrintXPS( _
ByVal fileName As String, _
Optional ByVal useDefaultPrinter As Boolean = true, _
Optional ByVal waitFinish As Boolean = false _
) As String
This language is not supported or no code example is available.
public static string PrintXPS(
string fileName,
bool useDefaultPrinter = true,
bool waitFinish = false
)
This language is not supported or no code example is available.
Parameters
-
fileName
-
Type: string
XPS document
-
useDefaultPrinter
-
Type: bool
Flag indicating whether default printer should be used
-
waitFinish
-
Type: bool
Flag indicating whether wait or not printing
Return Value
Type:
string
String containg error (on failure) or null string (on success)
.NET Framework
Supported in: 4.6.2, 4.7