Skip to main content

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

NuGet Package: DevExpress.Document.Processor

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