Table of Contents

Method ScaleFactorToDpi

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

ScaleFactorToDpi(float)

Converts scale factor to dpi.

public static int ScaleFactorToDpi(float scaleFactor)

Parameters

scaleFactor float

Scale factor value.

Returns

int

Remarks

Uses DefaultDPI for the conversion.