Skip to main content
.NET Framework 4.5.2+

BarCode.ShowPrintPreview() Method

Invokes a dialog that enables you to preview the printout, print or save it in PDF format, or as an image file.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v22.2.dll


public void ShowPrintPreview()


You can preview the printout only if the XtraPrinting Library is available.

Use the BarCode.PrintDialog to invoke a dialog that allows you to change printer settings.

The BarCode.Print method enables you to print to the default printer.

To print to PDF, use the BarCode.ExportToPdf method.

See Also