Table of Contents

Method ScaleFactorFromDpi

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ScaleFactorFromDpi(int)

Converts dpi to scale factor.

public static double ScaleFactorFromDpi(int dpi)

Parameters

dpi int

Dpi value.

Returns

double

Remarks

Uses DefaultDPI for the conversion.