Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

PrintHelper Methods
Show Inherited Hide Inherited

Provides methods to display a Print Preview for links, grids and reports.
Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExportToCsv(IPrintableControl, Stream, CsvExportOptions) static Exports a report to the specified stream in CSV format using the specified CSV-specific options.
ExportToCsv(IPrintableControl, Stream) static Exports a report to the specified stream in CSV format.
ExportToCsv(IPrintableControl, String, CsvExportOptions) static Exports a report to the specified file path in CSV format using the specified CSV-specific options.
ExportToCsv(IPrintableControl, String) static Exports a report to the specified file path in CSV format.
ExportToCsv(IBasePrintable, Stream, CsvExportOptions) static
ExportToCsv(IBasePrintable, Stream) static
ExportToCsv(IBasePrintable, String, CsvExportOptions) static
ExportToCsv(IBasePrintable, String) static
ExportToDocx(IPrintableControl, Stream, DocxExportOptions) static Exports a report to the specified stream in DOCX format using the specified DOCX-specific options.
ExportToDocx(IPrintableControl, Stream) static Exports a report to the specified stream in DOCX format.
ExportToDocx(IPrintableControl, String, DocxExportOptions) static Exports a report to the specified file path in DOCX format using the specified DOCX-specific options.
ExportToDocx(IPrintableControl, String) static Exports a report to the specified file path in DOCX format.
ExportToDocx(IBasePrintable, Stream, DocxExportOptions) static
ExportToDocx(IBasePrintable, Stream) static
ExportToDocx(IBasePrintable, String, DocxExportOptions) static
ExportToDocx(IBasePrintable, String) static
ExportToHtml(IPrintableControl, Stream, HtmlExportOptions) static Exports a report to the specified stream in HTML format using the specified HTML-specific options.
ExportToHtml(IPrintableControl, Stream) static Exports a report to the specified stream in HTML format.
ExportToHtml(IPrintableControl, String, HtmlExportOptions) static Exports a report to the specified file path in HTML format using the specified HTML-specific options.
ExportToHtml(IPrintableControl, String) static Exports a report to the specified file path in HTML format.
ExportToHtml(IBasePrintable, Stream, HtmlExportOptions) static
ExportToHtml(IBasePrintable, Stream) static
ExportToHtml(IBasePrintable, String, HtmlExportOptions) static
ExportToHtml(IBasePrintable, String) static
ExportToImage(IPrintableControl, Stream, ImageExportOptions) static Exports a report to the specified stream in image format using the specified image-specific options.
ExportToImage(IPrintableControl, Stream) static Exports a report to the specified stream as an image.
ExportToImage(IPrintableControl, String, ImageExportOptions) static Exports a report to the specified file path in image format using the specified image-specific options.
ExportToImage(IPrintableControl, String) static Exports a report to the specified file path in the specified image format.
ExportToImage(IBasePrintable, Stream, ImageExportOptions) static
ExportToImage(IBasePrintable, Stream) static
ExportToImage(IBasePrintable, String, ImageExportOptions) static
ExportToImage(IBasePrintable, String) static
ExportToMht(IPrintableControl, Stream, MhtExportOptions) static Exports a report to the specified stream in MHT format using the specified MHT-specific options.
ExportToMht(IPrintableControl, Stream) static Exports a report to the specified stream in MHT format.
ExportToMht(IPrintableControl, String, MhtExportOptions) static Exports a report to the specified file path in MHT format using the specified MHT-specific options.
ExportToMht(IPrintableControl, String) static Exports a report to the specified file path in MHT format.
ExportToMht(IBasePrintable, Stream, MhtExportOptions) static
ExportToMht(IBasePrintable, Stream) static
ExportToMht(IBasePrintable, String, MhtExportOptions) static
ExportToMht(IBasePrintable, String) static
ExportToPdf(IPrintableControl, Stream, PdfExportOptions) static Exports a report to the specified stream in PDF format using the specified PDF-specific options.
ExportToPdf(IPrintableControl, Stream) static Exports a report to the specified stream in PDF format.
ExportToPdf(IPrintableControl, String, PdfExportOptions) static Exports a report to the specified file path in PDF format, using the specified PDF-specific options.
ExportToPdf(IPrintableControl, String) static Exports a report to the specified file path in PDF format.
ExportToPdf(IBasePrintable, Stream, PdfExportOptions) static
ExportToPdf(IBasePrintable, Stream) static
ExportToPdf(IBasePrintable, String, PdfExportOptions) static
ExportToPdf(IBasePrintable, String) static
ExportToRtf(IPrintableControl, Stream, RtfExportOptions) static Exports a report to the specified stream in RTF format using the specified RTF-specific options.
ExportToRtf(IPrintableControl, Stream) static Exports a report to the specified stream in RTF format.
ExportToRtf(IPrintableControl, String, RtfExportOptions) static Exports a report to the specified file path in RTF format using the specified RTF-specific options.
ExportToRtf(IPrintableControl, String) static Exports a report to the specified file path in RTF format.
ExportToRtf(IBasePrintable, Stream, RtfExportOptions) static
ExportToRtf(IBasePrintable, Stream) static
ExportToRtf(IBasePrintable, String, RtfExportOptions) static
ExportToRtf(IBasePrintable, String) static
ExportToText(IPrintableControl, Stream, TextExportOptions) static Exports a report to the specified stream in text format using the specified TXT-specific options.
ExportToText(IPrintableControl, Stream) static Exports a report to the specified stream in Text format.
ExportToText(IPrintableControl, String, TextExportOptions) static Exports a report to the specified file path in text format using the specified TXT-specific options.
ExportToText(IPrintableControl, String) static Exports a report to the specified file path in text format.
ExportToText(IBasePrintable, Stream, TextExportOptions) static
ExportToText(IBasePrintable, Stream) static
ExportToText(IBasePrintable, String, TextExportOptions) static
ExportToText(IBasePrintable, String) static
ExportToXls(IPrintableControl, Stream, XlsExportOptions) static Exports a report to the specified stream in XLS format using the specified XLS-specific options.
ExportToXls(IPrintableControl, Stream) static Exports a report to the specified stream in XLS format.
ExportToXls(IPrintableControl, String, XlsExportOptions) static Exports a report to the specified file path in XLS format using the specified XLS-specific options.
ExportToXls(IPrintableControl, String) static Exports a report to the specified file path in XLS format.
ExportToXls(IBasePrintable, Stream, XlsExportOptions) static
ExportToXls(IBasePrintable, Stream) static
ExportToXls(IBasePrintable, String, XlsExportOptions) static
ExportToXls(IBasePrintable, String) static
ExportToXlsx(IPrintableControl, Stream, XlsxExportOptions) static Exports a report to the specified stream in XLSX format using the specified XLSX-specific options.
ExportToXlsx(IPrintableControl, Stream) static Exports a report to the specified stream in XLSX format.
ExportToXlsx(IPrintableControl, String, XlsxExportOptions) static Exports a report to the specified file path in XLSX format using the specified XLSX-specific options.
ExportToXlsx(IPrintableControl, String) static Exports a report to the specified file path in XLSX format.
ExportToXlsx(IBasePrintable, Stream, XlsxExportOptions) static
ExportToXlsx(IBasePrintable, Stream) static
ExportToXlsx(IBasePrintable, String, XlsxExportOptions) static
ExportToXlsx(IBasePrintable, String) static
ExportToXps(IPrintableControl, Stream, XpsExportOptions) static Exports a report to the specified stream in XPS format using the specified XPS-specific options.
ExportToXps(IPrintableControl, Stream) static Exports a report to the specified stream in XPS format.
ExportToXps(IPrintableControl, String, XpsExportOptions) static Exports a report to the specified file path in XPS format using the specified XPS-specific options.
ExportToXps(IPrintableControl, String) static Exports a report to the specified file path in XPS format.
ExportToXps(IBasePrintable, Stream, XpsExportOptions) static
ExportToXps(IBasePrintable, Stream) static
ExportToXps(IBasePrintable, String, XpsExportOptions) static
ExportToXps(IBasePrintable, String) static
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Print(IPrintableControl) static Opens the Print dialog that allows printing the specified control.
Print(IBasePrintable) static
Print(IReport) static Opens the Print dialog that allows printing the specified report.
PrintAsync(IPrintableControl) static Obsolete. Prints the specified control, asynchronously.
PrintAsync(IBasePrintable) static Obsolete. This method is obsolete (this method is now obsolete. Asynchronous printing is no longer supported. ).
PrintDirect(IPrintableControl, PrintQueue) static Obsolete. Prints the specified control to a specified printer.
PrintDirect(IPrintableControl, String) static Prints the specified control to the specified printer.
PrintDirect(IPrintableControl) static Prints the specified control to a default printer.
PrintDirect(IBasePrintable, PrintQueue) static Obsolete. This method is obsolete (this method is now obsolete. Use the DevExpress.Xpf.Printing.PrintHelper.PrintDirect(IBasePrintable source, string printerName) method instead).
PrintDirect(IBasePrintable, String) static
PrintDirect(IBasePrintable) static
PrintDirect(IReport, PrintQueue) static Obsolete. Prints the specified report to a specified printer.
PrintDirect(IReport, String) static Prints the specified report to the specified printer.
PrintDirect(IReport) static Prints the specified report to a default printer.
PrintDirectAsync(IPrintableControl, PrintQueue) static Obsolete. Prints the specified control using the default system printer, asynchronously.
PrintDirectAsync(IPrintableControl) static Obsolete. Prints the specified control using the default system printer, asynchronously.
PrintDirectAsync(IBasePrintable, PrintQueue) static Obsolete. This method is obsolete (this method is now obsolete. Asynchronous printing is no longer supported. ).
PrintDirectAsync(IBasePrintable) static Obsolete. This method is obsolete (this method is now obsolete. Asynchronous printing is no longer supported. ).
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ShowPrintPreview(FrameworkElement, IPrintableControl, String, String) static Creates a document from the specified control, and shows it in the Document Preview window.
ShowPrintPreview(FrameworkElement, IPrintableControl, String) static Creates a document from the specified control, and shows it in the Document Preview window.
ShowPrintPreview(FrameworkElement, IPrintableControl) static Creates a document from the specified control, and shows it in the Document Preview window.
ShowPrintPreview(FrameworkElement, LinkBase, String) static Creates a document from the specified link, and shows it in the Document Preview window.
ShowPrintPreview(FrameworkElement, LinkBase) static Creates a document from the specified link, and shows it in the Document Preview window.
ShowPrintPreview(FrameworkElement, IBasePrintable, String, String) static
ShowPrintPreview(FrameworkElement, IBasePrintable, String) static
ShowPrintPreview(FrameworkElement, IBasePrintable) static
ShowPrintPreview(FrameworkElement, IReport, String) static Creates a document from the specified link, and shows it in the Document Preview window.
ShowPrintPreview(FrameworkElement, IReport) static Creates a document from the specified link, and shows it in the Document Preview window.
ShowPrintPreviewDialog(Window, IPrintableControl, String, String) static Creates a document from the specified control, and shows it modally in the Document Preview dialog.
ShowPrintPreviewDialog(Window, IPrintableControl, String) static Creates a document from the specified control, and shows it modally in the Document Preview dialog.
ShowPrintPreviewDialog(Window, IPrintableControl) static Creates a document from the specified control, and shows it modally in the Document Preview dialog.
ShowPrintPreviewDialog(Window, LinkBase, String) static Creates a document from the specified link, and shows it modally in the Document Preview dialog.
ShowPrintPreviewDialog(Window, LinkBase) static Creates a document from the specified link, and shows it modally in the Document Preview dialog.
ShowPrintPreviewDialog(Window, IBasePrintable, String, String) static
ShowPrintPreviewDialog(Window, IBasePrintable, String) static
ShowPrintPreviewDialog(Window, IBasePrintable) static
ShowPrintPreviewDialog(Window, IReport, String) static Creates a document from the specified report, and shows it modally in the Document Preview dialog.
ShowPrintPreviewDialog(Window, IReport) static Creates a document from the specified report, and shows it modally in the Document Preview dialog.
ShowRibbonPrintPreview(FrameworkElement, IPrintableControl, String, String) static Creates a document from the specified control, and shows it in the Ribbon Print Preview window.
ShowRibbonPrintPreview(FrameworkElement, IPrintableControl, String) static Creates a document from the specified control, and shows it in the Ribbon Print Preview window.
ShowRibbonPrintPreview(FrameworkElement, IPrintableControl) static Creates a document from the specified control, and shows it in the Ribbon Print Preview window.
ShowRibbonPrintPreview(FrameworkElement, LinkBase, String) static Creates a document from the specified link, and shows it in the Ribbon Print Preview window.
ShowRibbonPrintPreview(FrameworkElement, LinkBase) static Creates a document from the specified link, and shows it in the Ribbon Print Preview window.
ShowRibbonPrintPreview(FrameworkElement, IBasePrintable, String, String) static
ShowRibbonPrintPreview(FrameworkElement, IBasePrintable, String) static
ShowRibbonPrintPreview(FrameworkElement, IBasePrintable) static
ShowRibbonPrintPreview(FrameworkElement, IReport, String) static Creates a document from the specified report, and shows it in the Ribbon Print Preview window.
ShowRibbonPrintPreview(FrameworkElement, IReport) static Creates a document from the specified report, and shows it in the Ribbon Print Preview window.
ShowRibbonPrintPreviewDialog(Window, IPrintableControl, String, String) static Creates a document from the specified control, and shows it modally in the Ribbon Print Preview dialog.
ShowRibbonPrintPreviewDialog(Window, IPrintableControl, String) static Creates a document from the specified control, and shows it modally in the Ribbon Print Preview dialog.
ShowRibbonPrintPreviewDialog(Window, IPrintableControl) static Creates a document from the specified control, and shows it modally in the Ribbon Print Preview dialog.
ShowRibbonPrintPreviewDialog(Window, LinkBase, String) static Creates a document from the specified link, and shows it modally in the Ribbon Print Preview dialog.
ShowRibbonPrintPreviewDialog(Window, LinkBase) static Creates a document from the specified link, and shows it modally in the Ribbon Print Preview dialog.
ShowRibbonPrintPreviewDialog(Window, IBasePrintable, String, String) static
ShowRibbonPrintPreviewDialog(Window, IBasePrintable, String) static
ShowRibbonPrintPreviewDialog(Window, IBasePrintable) static
ShowRibbonPrintPreviewDialog(Window, IReport, String) static Creates a document from the specified report, and shows it modally in the Ribbon Print Preview dialog.
ShowRibbonPrintPreviewDialog(Window, IReport) static Creates a document from the specified report, and shows it modally in the Ribbon Print Preview dialog.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also