Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

  • 2 years later...
Posted
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.
Posted

RE: PageSetupDialog bug with margins

 

Still there in .net 2005. You can set the EnableMetric property of the PageSetUpDialog to True' date=' 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.[/quote']

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.................

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...