Skip to main content

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.v23.2.dll

NuGet Package: 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