Skip to main content

RichTextBoxLink.Print(String) Method

Prints the current document to the specified printer.

Namespace: DevExpress.XtraPrintingLinks

Assembly: DevExpress.XtraPrinting.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

public void Print(
    string printerName
)

Parameters

Name Type Description
printerName String

A String value, specifying the printer name.

Remarks

If there is no printer with the specified name available on a machine, this method throws an exception of the InvalidPrinterException type.

If an empty string is defined for the printerName parameter, the document is sent to the system’s default printer.

See Also