Posted 30 May 2023, 6:06 pm EST
I’m converting an AR12 project to AR17 in VS2022 (Winform Framework). In the process of conversion, the chart BackDrop properties are generating a designer (not compile) error. The original code was
Me.chrIncomeExpense.Backdrop = New GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.SteelBlue, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, Nothing, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched)
This compiles properly, but when I try to open it in the designer I get the following errors:
Type ‘GrapeCity.ActiveReports.Chart.BackDropItem’ does not have a constructor with parameters of types BackdropStyle, Color, Color, GradientType, HatchStype, null, PicturePutStyle
Type ‘GrapeCity.ActiveReports.Chart.BackDrop’ does not have a constructor with parameters of types BackdropStyle, Color, Color, GradientType, HatchStype, null, PicturePutStyle.
Any suggestions would be appreciated.