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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now