Jump to content
Software FX Community

Migration problem in Printing


shivinder
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...