Scaling according to DPI sample

This sample describes how to build an app that scales according to the dots per inch (dpi) (pixel density) of the screen by loading images of the right scale or by overriding default scaling. This sample uses the Windows.Graphics.Display API.

 
 
 
 
 
4.5 Star
(2)
26,708 times
Add to favorites
11/26/2013
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C++
C#
JavaScript
VB.NET

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013 for Windows
VisualStudioVersion = 12.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Scaling", "Scaling.vbproj", "{CF1CD0D5-BF6B-457A-9927-8079FC667CA4}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{CF1CD0D5-BF6B-457A-9927-8079FC667CA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{CF1CD0D5-BF6B-457A-9927-8079FC667CA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{CF1CD0D5-BF6B-457A-9927-8079FC667CA4}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
		{CF1CD0D5-BF6B-457A-9927-8079FC667CA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{CF1CD0D5-BF6B-457A-9927-8079FC667CA4}.Release|Any CPU.Build.0 = Release|Any CPU
		{CF1CD0D5-BF6B-457A-9927-8079FC667CA4}.Release|Any CPU.Deploy.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal