User (Legacy) Posted January 5, 2004 Report Share Posted January 5, 2004 Hello, Support. I see, that BackgroundImage property is now deprecated. What should I use instead of it? The second question: is it possible to define the position of the background image (Center/Tile/Strech)? The thir Link to comment Share on other sites More sharing options...
Software FX Posted January 5, 2004 Report Share Posted January 5, 2004 You must use an ImageBackground object and set it as the chart's back object. For example: ImageBackground imgbk = new ImageBackground(<image file name>); chart1.InsideBackObject = imgbk; -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 6, 2004 Author Report Share Posted January 6, 2004 Thank you for the reply. I have some troubles using InsideBackObject property. I have the following code: ============================================ Bitmap Background= new Bitmap( chart.Width, chart.Height ); //Initializing Background image here. //Now I use one of the following properties: //chart.BackgroundImage = Background; //chart.InsideBackObject = new ImageBackground( Background ); //chart.BackObject = new ImageBackground( Background ); ============================================ If I use BackgroundImage property it works properly. If I use InsideBackObject property, I don't see my background image at all. I see the chart only. If I use BackObject property, I see both background image and the chart area, but because of the transparency of my background image I get the result image (after export to Bitmap) with a black background. "SoftwareFX Support" <support@softwarefx.com> wrote in message news:baefMQ90DHA.3808@WEBSERVER1... > You must use an ImageBackground object and set it as the chart's back > object. > > For example: > > ImageBackground imgbk = new ImageBackground(<image file name>); > > chart1.InsideBackObject = imgbk; > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.