Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 24th, 2006, 09:05 AM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Device Independence in GDI+

Hello,

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.

Shujaat
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:09 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.