Jump to content
Software FX Community

Paint Method for printing to a location


User (Legacy)
 Share

Recommended Posts

Hello,

I am printing the chart to a region on the printer. This region is a

rectangle bound by Left (l), Right ®, Top (t), and Bottom (B). The hdc is

my Printer (or Print Preview) device context.

m_Chart.Paint hdc, l, t, r, b, CPAINT_PRINT, 0

The problem I have is when I zoom in on a region in the chart. When I then

make a printout, the chart printed it cut off, usually a full MajorStep

worth in both X and Y. Now this depends on the size of the window on the

screen! The larger the screen window, the better it looks...the smaller,

the worse. It is as if the Paint method is using some screen size

information when it should be using the printer size information. This is

also noticeable in the standard Print Preview made available by ChartFX.

Can someone please help me to resolve this issue! I am using the 5.003

build.

Thanks

Abe Krebs

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...