User (Legacy) Posted April 16, 2002 Report Share Posted April 16, 2002 I can get the chart to print where I want it, BUT when the user zooms in with the preview window, the background is painted black. Adobe PDFwriter does it too. Whats going on? Brian Link to comment Share on other sites More sharing options...
Software FX Posted April 17, 2002 Report Share Posted April 17, 2002 Use CPAINT_BKGND when you call chart_Paint (Paint method) otherwise we will not draw the background and whatever is behind the chart will remain untouched. If you don't want the chart to draw its background but you want a WHITE background instead, you can draw a white rectangle right before calling Paint. You need to do this in PrintPreview only, you don't need to do it when printing as the paper is already white. -- FP Software FX, Inc. ChartTest.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.