Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarCode.ShowPrintPreview() Method

In This Article

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.v24.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