PixelSizeToSizeWithDpi(Vector) Method
Converts the
PixelSize to a device-independent
Size using the
specified dots per inch (DPI).
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Size ToSizeWithDpi(
Vector dpi
)
Public Function ToSizeWithDpi (
dpi As Vector
) As Size
member ToSizeWithDpi :
dpi : Vector -> Size
- dpi Vector
- The dots per inch.
SizeThe device-independent size.