PageSetupDialog bug with margins.

davidrobin

Freshman
Joined
Jun 24, 2003
Messages
41
There was a well known bug in PageSetupDialog in Framework 1.0 and it is still there in 1.1 when using metric measurment system:

For example show the pagesetupdialog and set the left margin to 25.4 mm (1 inch) and press ok. Now show it again and the value is now 10 (divided by 2.54 to be converted to inch and set the print document margin which is measured by 0.01 of inch, but not converted back to mm at subsequent ShowDialog).


Does anyone know of a work around for this?
How do you change the measurements from millimetre to inch?
 
Still there in .net 2005. You can set the EnableMetric property of the PageSetUpDialog to True, and that helps. But then you get oversized margins initially, and maybe you then get the opposite problem on a computer which uses imperial measurements.
 
RE: PageSetupDialog bug with margins

rbulph said:
Still there in .net 2005. You can set the EnableMetric property of the PageSetUpDialog to True, and that helps. But then you get oversized margins initially, and maybe you then get the opposite problem on a computer which uses imperial measurements.
I hadn't checked 2005 for this one but it's annoying that it's still there. I had hoped and actually expected it would be sorted in 2005.
Ah well.................
 
Back
Top