Click or drag to resize
CanvasVirtualImageSourceConvertPixelsToDips Method
Converts units from physical pixels to device independent pixels (DIPs) based on the DPI of this image source.

Namespace:  Microsoft.Graphics.Canvas.UI.Xaml
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public float ConvertPixelsToDips(
	int pixels
)

Parameters

pixels
Type: SystemInt32

Return Value

Type: Single

Implements

ICanvasResourceCreatorWithDpiConvertPixelsToDips(Int32)
Remarks
For more information, see DPI and DIPs.
See Also