2 Replies - 368 Views - Last Post: 29 June 2013 - 12:15 AM Rate Topic: -----

#1 xxxartistxxx  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 05-April 12

Screen Ratio

Posted 28 June 2013 - 02:27 PM

Hello,
I want to determine user's screen ratio in my vb.net application.
I try to width/height but for 1920/1080 it's 1.77777777778 it should be 16/9
Is it only way to this select case for every possible resolation or there is any faster way ?
Thanks :balloon:
Is This A Good Question/Topic? 0
  • +

Replies To: Screen Ratio

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5436
  • View blog
  • Posts: 11,649
  • Joined: 02-June 10

Re: Screen Ratio

Posted 28 June 2013 - 03:09 PM

1.7777777777778 : 1 *is* 16:9. Do the math.


1.77777777778 * 9 = 16
1 * 9 = 9
Was This Post Helpful? 0
  • +
  • -

#3 xxxartistxxx  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 05-April 12

Re: Screen Ratio

Posted 29 June 2013 - 12:15 AM

View PosttlhIn`toq, on 28 June 2013 - 03:09 PM, said:

1.7777777777778 : 1 *is* 16:9. Do the math.


1.77777777778 * 9 = 16
1 * 9 = 9

Sometimes you just need think simple :smile2:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1