Back to Devexpress

BarCode.ShowPrintPreview() Method

officefileapi-devexpress-dot-barcodes-dot-barcode-23cf304e.md

latest1.5 KB
Original Source

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

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public void ShowPrintPreview()
vb
Public Sub 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

Print()

ShowPrintPreview()

ExportToPdf

BarCode Class

BarCode Members

DevExpress.BarCodes Namespace