Solved

How can I set my pageSetupDialog margin measurment unit to Inch instead of Millimeters. No matter what regional setting the computer has.

Posted on 2008-10-18
1
441 Views
Last Modified: 2013-11-07
How can I set the measurment unit of a PageSetupDialog to inches programatically?
I have a PageSetupDialog for my PrindtDocument that works fine when the measurment unit is in Inches but on some computers the measurment unit is set to millimeters according to regional setting of the computer and my print mix up on those computer. I don't want to chage the regional setting of computers but programatically I want to set the measurment unit to inches for my PagesetupDialog.
0
Comment
Question by:Elham_Seif
1 Comment
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 500 total points
ID: 22750180
Set the EnableMetric property of the PageSetupDialog to True.

http://msdn.microsoft.com/en-us/library/system.windows.forms.pagesetupdialog.enablemetric(VS.80).aspx

Wayne
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question