Re: Screen Resolution and Screen Size
Re: Screen Resolution and Screen Size
- Subject: Re: Screen Resolution and Screen Size
- From: j o a r <email@hidden>
- Date: Tue, 22 Nov 2005 07:52:50 +0100
On 22 nov 2005, at 07.38, Rolando Sacramento wrote:
I creating an app that returns information with respect to the
screen size. But the problem is, I do not how to get the screen
size of the current machine, ex. 14" 15" , 17" or etc...
Is there a class that can be use to get this information?
I don't think that you can get hold of this information, because I'm
pretty sure that it's not something that a connected monitor reports
to the computer.
I'm sure that there are some cases when you could have this info -
for example you could probably figure it out for machines from Apple
with built-in LCD monitors based on the model of the machine - but in
the general case I would be really surprised if you could.
So, while you can access the pixel dimensions of the monitor(s), I
don't think that you can calculate their "real world" resolution in
dpi/ppi.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden