Skip to main content
A newer version of this page is available. .

DocumentPreviewControl.PrintDirect(String) Method

Prints the document using the specified printer.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Printing, DevExpress.Wpf.Printing

Declaration

public virtual void PrintDirect(
    string printerName = null
)

Optional Parameters

Name Type Default Description
printerName String *null*

A String value, specifying the printer name.

See Also