using trichedit as print generator i have to scale the component's dimensions depending on the real print area of the selected printer. there is to consider the physical margins of the printer as well as printer orientation. to get an 1:1 canvas which will be printed as shown on screen.
Pleeeease - can anybody give me hints how to do that job ?
very many thanks in advance !
DiRi
how can i scale trichedit
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Hi Sergey,
You do not give yourself enough credit. We have scaled the editor quite well. We only handle the things we need (fonts, tables, custom label items) and not others (pictures, components) but its not that tricky.
If you do not need to scale the editor, and just the output, then you can just paint the trichview to a metafile and scale the metafile to the printer.
If you need to scale the editor, it is more complicated, but I can give some help if needed.
You do not give yourself enough credit. We have scaled the editor quite well. We only handle the things we need (fonts, tables, custom label items) and not others (pictures, components) but its not that tricky.
If you do not need to scale the editor, and just the output, then you can just paint the trichview to a metafile and scale the metafile to the printer.
If you need to scale the editor, it is more complicated, but I can give some help if needed.