DpiAwareness.GetWindowDpiScale(IntPtr) Méthode

Définition

Obtient l’échelle en PPP de la fenêtre donnée.

public:
[System::Runtime::CompilerServices::Extension]
 static double GetWindowDpiScale(IntPtr hwnd);
public static double GetWindowDpiScale (this IntPtr hwnd);
static member GetWindowDpiScale : nativeint -> double
<Extension()>
Public Function GetWindowDpiScale (hwnd As IntPtr) As Double

Paramètres

hwnd
IntPtr

IntPtrDe la fenêtre à partir de laquelle l’échelle PPP doit être obtenue.

Retours

Double

Échelle en PPP de la fenêtre.

S’applique à