Wrox Programmer Forums
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 24th, 2006, 09:05 AM
Registered User
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Device Independence in GDI+


I have read in so many locations that GDI+ is device independent, means drawing will look similar independent of the device resolution or whatever. I am using Inches as measurement units in my GDI+ (.NET 2.0) based drawing application. Now my monitor is set at 1024 x 768 and when I draw a rectangle 1 inch wide, it display as exactly 1 inch wide. But when I switch my monitor to, say 800 x 600 or anything different than the original one, the rectangle resizes itself according to the new resolution (which is not 1 inch wide anymore).

Can anybody tell me how can I acheive a GDI+ drawing that is REALLY device-independent, becuz I cannot gaurentee that my users will have their resolution at 1024 x 768. Thanks in advance.


Similar Threads
Thread Thread Starter Forum Replies Last Post
GDI+ Help Dienzo General .NET 0 April 1st, 2007 02:50 PM
Is .Net Platform Independence? nir_pankaj C# 5 February 16th, 2007 02:26 PM
GDI+ problem pravo_u_raj C# 4 February 16th, 2006 05:27 PM
EventHandler and GDI+ Function Fightfish C# 1 June 21st, 2005 08:02 AM
GDI+ in 2 forms clowns119 General .NET 0 March 18th, 2005 01:47 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.