Skip to main content

ToPointWithDpi(Double) Method

Converts the PixelPoint to a device-independent Point using the specified dots per inch (DPI).

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public Point ToPointWithDpi(
double dpi
)

Parameters​

  Double
The dots per inch of the device.

Return Value​

Point
The device-independent point.

See Also​

Reference​

PixelPoint Structure
ToPointWithDpi Overload
Avalonia Namespace