Jump to content
Software FX Community

Migration problem in Printing


shivinder

Recommended Posts

Hey

I have a slight problem. It seems that initally my code was using the inside Color of the chart. Now the inside Color( PrintareaColor) is using the Color gien to the rectangle. I get it is a transparency issue. How do i get over the hump. This is the code i am using. The only difference fromt the 6.2 code is that i was using PaintFlags.Normal.

Rectangle R = RectangleP(x, y, width, height, e);

SolidBrush B = new SolidBrush(chart.BackColor);//chart.BackColor);

SolidBrush B = new SolidBrush(chart.BackColor);//chart.BackColor);

e.Graphics.FillRectangle(B, R);

B.Dispose();

chart.Paint(e.Graphics, R, ChartFX.WinForms.PaintStyles.None);

 

e.Graphics.PageUnit = GraphicsUnit.Display;

PaintStyles.None);

 

e.Graphics.PageUnit = GraphicsUnit.Display;

GraphicsUnit.Display;
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...