ICanvasResourceCreatorWithDpi.ConvertPixelsToDips Method |
Converts units from physical pixels to device independent pixels (DIPs) based on the current DPI of this object.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntaxfloat ConvertPixelsToDips(
int pixels
)
Parameters
- pixels
- Type: System.Int32
Return Value
Type:
Single
Remarks
See Also