how do I display A form in print preview??
Printable View
how do I display A form in print preview??
Are you saying you want to preview the actual form, as in a screen shot, or just the data displayed by in the form?
Quote:
Originally Posted by jmcilhinney
I actually have a bar chart displayed on the form so the main part of the form is all i need.
And what exactly is this bar chart? Is it GDI+ drawing that you did yourself? Some third-party charting control? Some Label controls? Please, take the time to post clearly in future. Nine words is very rarely enough to provide us with the information we need to provide you with a solution. Give us a clear and complete description of the situation because ESP doesn't work over the Internet.
Quote:
Originally Posted by jmcilhinney
Sorry, i should have thought. it is a third party chart control. the chart is created in code. the chart .dll does most of the work.
I have attached a screen shot
So is it safe to assume then that that third-party control/library doesn't provide any printing functionality itself? If not then you should probably look at downloading the VB Power Packs from Microsoft. It includes a PrintForm component that I believe (never used it myself) allows you to print an image of all or part of a form as it's displayed on-screen.
Quote:
Originally Posted by jmcilhinney
ok and thanks
If you can find any documentation for the chart control with regard to printing you will probably get nicer printing as the form print control (and pretty much every other form print solution) only prints images at 72dpi (screen resolution)....
Quote:
Originally Posted by Merrion
I did get it working, but it is grainey.
what is(and where is it) the Form Print Control???