Current filter:
                                You should refresh the page.
                                  • With v17.1, DevExpress Dashboard controls use a new printing/exporting API. This was made to simplify the process of specifying the printing/exporting options for different formats (such as PDF, Image and Excel). We have replaced the DashboardPrintingOptions/DashboardExportOptions classes related to WinForms and the Web, respectively, by the DashboardPdfExportOptionsDashboardImageExportOptions and DashboardExcelExportOptions classes common for both platforms. You can now explicitly specify different export options for each format.

                                    This topic contains a full list of API changes that should be made for the DashboardDesigner and DashboardViewer controls.

                                    ____________________________________________________________________________________________________________________________________________________

                                    Classes
                                    ____________________________________________________________________________________________________________________________________________________

                                    - The DashboardPrintingOptions class from the DashboardWin namespace is replaced with the following classes from the DashboardCommon namespace:
                                                DashboardPrintPreviewOptions - contains options specific to printing a dashboard/dashboard items using the Print Preview;
                                                DashboardPdfExportOptions - contains options specific to exporting a dashboard/dashboard item to the PDF format;
                                                DashboardImageExportOptions - contains options specific to exporting a dashboard/dashboard item to an image;
                                                DashboardExcelExportOptions - contains options specific to exporting a dashboard item to an Excel workbook or CSV file.

                                    - The DocumentContentPrintingOptions class from the DashboardWin namespace is obsolete now. The DocumentContentPrintingOptions.ShowTitle property is now exposed by classes related to specific formats:
                                                DashboardPrintPreviewOptions.ShowTitle
                                                DashboardPdfExportOptions.ShowTitle
                                                DashboardImageExportOptions.ShowTitle
                                    The DocumentContentPrintingOptions.FilterState property is obsolete now. Use the following properties instead:
                                                DashboardPrintPreviewOptions.ExportFilters
                                                DashboardPrintPreviewOptions.ExportParameters
                                                DashboardPrintPreviewOptions.DashboardStatePosition
                                    The DashboardPdfExportOptionsDashboardImageExportOptions and DashboardExcelExportOptions classes expose the same properties (except DashboardImageExportOptions - you cannot specify the position of a dashboard state).

                                    - The PrintingFontInfo class from the DashboardWin namespace is replaced with the ExportFontInfo class from DashboardCommon .

                                    - The DashboardPrintingPageLayout enumeration from the DashboardWin namespace is replaced with the DashboardExportPageLayout enumeration from DashboardCommon.

                                    - The DashboardPrintingScaleMode enumeration from the DashboardWin namespace is replaced with the DashboardExportScaleMode enumeration from DashboardCommon.

                                    - The following classes related to printing/exporting specific dashboard items became obsolete:
                                                CardPrintingOptions - Members exposed by this class were moved to DashboardPrintPreviewOptions and DashboardPdfExportOptions with the 'Card' prefix;
                                                ChartPrintingOptions - Members exposed by this class were moved to DashboardPrintPreviewOptions and DashboardPdfExportOptions with the 'Chart' prefix;
                                                GaugePrintingOptions - Members exposed by this class were moved to DashboardPrintPreviewOptions and DashboardPdfExportOptions with the 'Gauge' prefix;
                                                GridPrintingOptions - Members exposed by this class were moved to DashboardPrintPreviewOptions and DashboardPdfExportOptions with the 'Grid' prefix;
                                                MapPrintingOptions - Members exposed by this class were moved to DashboardPrintPreviewOptions and DashboardPdfExportOptions with the 'Map' prefix;
                                                PiePrintingOptions - Members exposed by this class were moved to DashboardPrintPreviewOptions and DashboardPdfExportOptions with the 'Pie' prefix;
                                                PivotPrintingOptions - Members exposed by this class were moved to DashboardPrintPreviewOptions and DashboardPdfExportOptions with the 'Pivot' prefix;
                                                RangeFilterPrintingOptions - Members exposed by this class were moved to DashboardPrintPreviewOptions and DashboardPdfExportOptions with the 'RangeFilter' prefix;
                                                TreemapPrintingOptions - Members exposed by this class were moved to DashboardPrintPreviewOptions and DashboardPdfExportOptions with the 'Treemap' prefix;
                                                The ChartPrintingSizeMode enumeration from the DashboardWin namespace is replaced with the ChartExportSizeMode enumeration from DashboardCommon;
                                                The MapPrintingSizeMode enumeration from the DashboardWin namespace is replaced with the MapExportSizeMode enumeration from DashboardCommon;
                                                The RangeFilterPrintingSizeMode enumeration from the DashboardWin namespace is replaced with the RangeFilterExportSizeMode enumeration from DashboardCommon;
                                                The TreemapPrintingSizeMode enumeration from the DashboardWin namespace is replaced with the TreemapExportSizeMode enumeration from DashboardCommon.

                                    ____________________________________________________________________________________________________________________________________________________

                                    Properties
                                    ____________________________________________________________________________________________________________________________________________________

                                    - DashboardDesigner.PrintingOptions is replaced with the following properties:
                                                DashboardDesigner.PrintPreviewOptions
                                                DashboardDesigner.PdfExportOptions
                                                DashboardDesigner.ImageExportOptions
                                                DashboardDesigner.ExcelExportOptions

                                    - DashboardViewer.PrintingOptions is replaced with the following properties:
                                                DashboardViewer.PrintPreviewOptions
                                                DashboardViewer.PdfExportOptions
                                                DashboardViewer.ImageExportOptions
                                                DashboardViewer.ExcelExportOptions

                                    - DashboardPrintingOptions.AutoFitPageCount is replaced with the following properties:
                                                DashboardPrintPreviewOptions.AutoFitPageCount
                                                DashboardPdfExportOptions.AutoFitPageCount

                                    - DashboardPrintingOptions.DocumentContentOptions and the corresponding DocumentContentPrintingOptions class are obsolete now. To learn more, see the Classes paragraph above.

                                    - DashboardPrintingOptions.FontInfo is replaced with the following properties:
                                                DashboardPrintPreviewOptions.FontInfo
                                                DashboardPdfExportOptions.FontInfo
                                    DashboardImageExportOptions.FontInfo

                                    - DashboardPrintingOptions.PageLayout is replaced with the following properties:
                                                DashboardPrintPreviewOptions.PageLayout
                                                DashboardPdfExportOptions.PageLayout

                                    - DashboardPrintingOptions.PaperKind is replaced with the following properties:
                                                DashboardPrintPreviewOptions.PaperKind
                                                DashboardPdfExportOptions.PaperKind

                                    - DashboardPrintingOptions.ScaleFactor is replaced with the following properties:
                                                DashboardPrintPreviewOptions.ScaleFactor
                                                DashboardPdfExportOptions.ScaleFactor
                                                DashboardImageExportOptions.ScaleFactor

                                    - DashboardPrintingOptions.ScaleMode is replaced with the following properties:
                                                DashboardPrintPreviewOptions.ScaleMode
                                                DashboardPdfExportOptions.ScaleMode

                                    ____________________________________________________________________________________________________________________________________________________

                                    Methods
                                    ____________________________________________________________________________________________________________________________________________________

                                    The following methods of the DashboardDesigner and DashboardViewer controls became obsolete:
                                                ExportToPdf(string filePath, PdfExportOptions options)
                                                ExportToPdf(Stream stream, PdfExportOptions options)
                                                ExportToImage(string filePath, ImageExportOptions options)
                                                ExportToImage(Stream stream, ImageExportOptions options)
                                                ExportDashboardItemToPdf(string dashboardItemName, Stream stream, ExcelExportOptions options)
                                                ExportDashboardItemToPdf(string dashboardItemName, string filePath, ExcelExportOptions options)
                                                ExportDashboardItemToImage(string dashboardItemName, Stream stream, ExcelExportOptions options)
                                                ExportDashboardItemToImage(string dashboardItemName, string filePath, ExcelExportOptions options)
                                                ExportDashboardItemToExcel(string dashboardItemName, Stream stream, ExcelExportOptions options)
                                                ExportDashboardItemToExcel(string dashboardItemName, string filePath, ExcelExportOptions options)
                                    Use method overloads that accept the DashboardPdfExportOptions, DashboardImageExportOptions or DashboardExcelExportOptions objects instead of PdfExportOptions, ImageExportOptions and ExcelExportOptions, respectively.

                                0 Solutions

                                Creation Date Importance Sort by