| Author |
Printing a whole GUI
|
|
| Markus Kneuer 2006-03-22, 4:09 am |
| I created a GUI with 3 axes and some buttons and so on.
Now I want to print the whole GUI window.
The problem is, that the GUI does not fit on A4 paper size and so the
diagrams are partly cut off. Also the Buttons and text boxes are not
printed out.
Now my Question: can anyone give me a small part of source code or
anything so that I can print out the GUI with all itīs components and
that it fits on a paper sheet with the size A4? I think it would be
better to print it in landscape format.
| |
| thommo 2006-03-22, 4:09 am |
| I used "printdlg(handles.figure1)"
That works well as you can go into the page properties.. select paper
type, orientation etc as well as fitting to page...
doesnt work on compiled systems though (well.. not on R14 SP2 at least)
| |
| Markus Kneuer 2006-03-22, 4:09 am |
| works really good!
thank you very much for the fast answer!
the only di vantage is that it does not fit the whole GUI to the
paper size... that means the right end of the GUI is still cut off.
is there a possibility to resize the GUI only for the print so that
it fits perfect on my paper size I chose?
| |
| thommo 2006-03-23, 4:15 am |
| Sorry...
try printpreview(handles.figure1)
that lets you resize / orient page
|
|
|
|