What Changed
The following API changes may affect applications that use the following products:
- Barcode Generation API
- Reporting tools
- Word Processing product line
- Spreadsheet product line
- Printing Library
Type Change for "PaperKind" Members:
We changed the type for the following members to DevExpress.Drawing.Printing.DXPaperKind:
- SheetView.PaperKind
- ReadOnlySectionPage.PaperKind
- SectionPage.PaperKind
- ChangeSectionPaperKindCommand constructor
PageSetupSetPaperKindCommand
constructor- XtraReport.PaperKind
- ReportSettingsBase.PaperKind
- ReportModel.PaperKind
- ConfigureReportPageSettingsPageView.PaperKind
- IConfigureReportPageSettingsPageView.PaperKind
- XlPageSetup.PaperKind
- LinkBase.PaperKind
PrintableControlLink.PaperKind
paperKind
parameter in the XtraPageSettings.Assign method- XtraPageSettingsBase.PaperKind
Type Change for "StringAlignment" Properties:
We changed the type for the following properties to DevExpress.Drawing.DXStringAlignment:
- BarCode.CodeTextHorizontalAlignment
- BarCode.CodeTextVerticalAlignment
- BarCodeCaption.HorizontalAlignment
- BrickStringFormat.Alignment
- BrickStringFormat.LineAlignment
Type Change for "StringTrimming" Properties:
We changed the type for the following properties to DevExpress.Drawing.DXStringTrimming:
Type Change for "TextRenderingHint" Properties:
We changed the type for the following properties to DevExpress.Drawing.DXTextRenderingHint:
Type Change for "Unit" Properties:
We changed the type for the following members to DevExpress.Drawing.DXGraphicsUnit:
- BarCode.Unit
- CustomLabelInformation.Unit
- GraphicsUnitInfo.Unit
- ReportModel.Unit
- PaperKindData.Unit
- ConfigureReportPageSettingsPageView.Unit
- CustomizeLabelPageView.Unit
- IConfigureReportPageSettingsPageView.Unit
- ICustomizeLabelPageView.Unit
Type Change for "DashStyle" Properties:
We changed the type for the following properties to DevExpress.Drawing.DXDashStyle:
Type Change for "StringFormatFlags" Properties:
We changed the type for the following properties to DevExpress.Drawing.DXStringFormatFlags:
Type Change for "HotkeyPrefix" Properties:
We changed the type for the following properties to DevExpress.Drawing.DXHotkeyPrefix:
Reasons for Change
The new types help us resolve issues caused by the following breaking change: System.Drawing.Common only supported on Windows. The changes also allow us to ensure proper operation of our products on all supported non-Windows environments (Linux and macOS), as well as in Azure App Service and Docker containers.
Impact on Existing Apps
This change affects your application if you use the API mentioned above.
How to Update Existing Apps
To update your applications, use the list above to change property, parameter, and return value types.