Table of Contents

Method GetDpiScale

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

GetDpiScale(Control)

Gives DPI scale value for the specified control.

public static float GetDpiScale(Control control)

Parameters

control Control

Control to process.

Returns

float

The floating value indicates the ratio between the standard Dpi scale and the control's Dpi scale.