Version

ClampPixelScalingRatio Method

Clamps a pixel scaling ratio value to an acceptable value for the current platform.
Syntax
public static double ClampPixelScalingRatio( 
   double value
)

Parameters

value
The value to clamp

Return Value

The clamped value
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also