ToSizeWithDpi(Vector) Method
Converts the PixelSize to a device-independent Size using the specified dots per inch (DPI).
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Size ToSizeWithDpi(
Vector dpi
)
Public Function ToSizeWithDpi (
dpi As Vector
) As Size
member ToSizeWithDpi :
dpi : Vector -> Size
Parameters
- Vector
- The dots per inch.
Return Value
Size
The device-independent size.
See Also
Reference
PixelSize Structure
ToSizeWithDpi Overload
Avalonia Namespace