December 2014
Intermediate to advanced
512 pages
17h 4m
English
Fortunately, for Windows Store and universal apps, Windows exposes a simple yet powerful built-in scheme for handling automatic scaling for any image file packaged in your app. You can provide three separate variations, one for each possible scale. If you follow one of two naming conventions, then the Image element automatically uses the correct one for the current environment.
For example, if you set an Image’s Source to Assets/photo.jpg, then you can name the three variations of this file as follows to take advantage of this automatic support:
Assets/photo.scale-100.jpg
Assets/photo.scale-140.jpg
Assets/photo ...
Read now
Unlock full access