Borland C++ Builder to .NET transition help
Posted: Fri Aug 10, 2007 4:36 pm
We are currently porting one of our Borland C++ Builder apps to .NET/WinForms, and I am a little confused about some of the property mappings. Please understand, I am not a Borland programmer, so some things are a bit confusing to me.
First and foremost is the bsClear and bsSolid brush style options provided by Borland. How do I reproduce those effects using the .NET TeeChart? The HatchStyle enumeration provided by System.Drawing doesn't contain Clear or Solid. Should I use the Transparency and Solid properties of the ChartBrush class? If so, what do both of those enums represent in terms of those values? I would think bsSolid = { Solid = true; Transparency = 100; } and bsClear = { Solid = True; Transparency = 0; }, but I am simply not sure.
Any help would be appreciated.
First and foremost is the bsClear and bsSolid brush style options provided by Borland. How do I reproduce those effects using the .NET TeeChart? The HatchStyle enumeration provided by System.Drawing doesn't contain Clear or Solid. Should I use the Transparency and Solid properties of the ChartBrush class? If so, what do both of those enums represent in terms of those values? I would think bsSolid = { Solid = true; Transparency = 100; } and bsClear = { Solid = True; Transparency = 0; }, but I am simply not sure.
Any help would be appreciated.