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

PrintHelper.PrintDirect(IPrintableControl, PrintQueue) Method

OBSOLETE

This method is now obsolete. Use the PrintDirect method instead

Prints the specified control to a specified printer.

Namespace: DevExpress.Xpf.Printing

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

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

Declaration

[Obsolete("This method is now obsolete. Use the DevExpress.Xpf.Printing.PrintHelper.PrintDirect(IPrintableControl source, string printerName) method instead")]
public static void PrintDirect(
    IPrintableControl source,
    PrintQueue queue
)

Parameters

Name Type Description
source IPrintableControl

An object implementing the IPrintableControl interface.

queue PrintQueue

A PrintQueue object that manages printers and print jobs.

See Also