There is something strange going on with the PageSetupDialog ... when I go into the dialog and don't make any changes and press OK ... it changes the margins of the document.
vb Code:
Dim OldTop=Document.DefaultPageSettings.Margins.Top
Using dlg = New PageSetupDialog()
dlg.Document = Document
dlg.ShowDialog(Me)
End Using
Dim NewTop=Document.DefaultPageSettings.Margins.Top
After running the above OldTop=10 and NewTop=39...
Basically my computer is in mm's instead of inches (since I am not American), and I think it is doing some internal conversion??? since 10 mms = 0.393701?
Any ideas on how to overcome this? or will I have to write a new PageSetupDialog?
Thanks in advance,
Kris