Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

PlotAreaColor has no effect when printing

I currently have a ScatterGraph with a PlotAreaColor of White and a BackColor of Gray.  It looks correct on the form, but when I print the ScatterGraph using the Draw function, the Plot Area is Gray not White.
 
It appears that the PlotAreaColor is transparent, because when I change the BackColor, the Plot Area follows this.
 
I am using VS 2005.  Is this a known issue?  Is there a work around?
 
Dan
 
 
0 Kudos
Message 1 of 3
(3,594 Views)
Can you try using the printing example under C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\UI\Graph\Printing to reproduce it?

I was unable to see the same problem in VS 2003 and 2005 using Measurement Studio 8.0. I'm assuming you are using the .NET Scattergraph.

Bilal Durrani
NI
0 Kudos
Message 2 of 3
(3,584 Views)

It turns out that the problems is occurring when I use a third party PrintForm control (derived from PrintDocument).  When I print directy to the PrintDocument control, the Scatter Graph prints correctly.  The only work around that I found was to use the DrawtoBitmap method instead.

Thanks

0 Kudos
Message 3 of 3
(3,566 Views)