Hi
When a user hits print on my Chart form, I present a TPageSetupDialog allowing the user to select printer, paper, orientation and margins.
The margins returned from TPageSetupDialog are measured in 1/100 milimeters.
How do I translate that into Chart.PrintMargins (measured in pixels)
I use the approach of rescaling my chart before print to fit the printer dimensions and set PrintProportional := False.
Best regards
Søren
Setting print margins right
-
- Newbie
- Posts: 17
- Joined: Thu Dec 07, 2006 12:00 am
- Location: Sønderborg, Denmark
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Søren,
You can try using what Pep suggested here. You may also be interested reading the article I posted about printing.
Thanks in advance.
You can try using what Pep suggested here. You may also be interested reading the article I posted about printing.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 17
- Joined: Thu Dec 07, 2006 12:00 am
- Location: Sønderborg, Denmark