Toggle side menu
Toggle side menu
Home
Documentation
API
PixelSize
.
ToSizeWithDpi
(Vector)
Method
Summary
Converts the
PixelSize
to a device-independent
Size
using the specified dots per inch (DPI).
Namespace
Avalonia
Containing Type
PixelSize
Syntax
public Size ToSizeWithDpi(Vector dpi)
Parameters
Name
Type
Description
dpi
Vector
The dots per inch.
Return Value
Type
Description
Size
The device-independent size.