Back to Devexpress

PrintToolBase.PrintAsync(String) Method

corelibraries-devexpress-dot-xtraprinting-dot-printtoolbase-dot-printasync-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

PrintToolBase.PrintAsync(String) Method

Prints the current document on the specified printer asynchronously.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public Task PrintAsync(
    string printerName
)
vb
Public Function PrintAsync(
    printerName As String
) As Task

Parameters

NameTypeDescription
printerNameString

A String that is the name of the printer where the current document is sent.

|

Returns

TypeDescription
Task

An asynchronous operation result.

|

Remarks

This method asynchronously sends a document assigned to the PrintToolBase to the specified printer.

See Also

PrintToolBase Class

PrintToolBase Members

DevExpress.XtraPrinting Namespace