user1949015
user1949015

Reputation:

How to detect/find Windows 8 current scale percentage

There are three scale percentages in Windows 8: •100% when no scaling is applied •140% for HD tablets •180% for quad-XGA tablets

How can I detect in WinRT code what percentage the screen is at that moment?

(I want to make a custom image service that loads the best resolution from a database)

Upvotes: 0

Views: 184

Answers (1)

paiden
paiden

Reputation: 887

Use

var currentScale = DisplayProperties.ResolutionScale;

Upvotes: 2

Related Questions