.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.v21.1.dll

Declaration

public void ShowPrintPreview()

Remarks

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