DpiAwareness.GetWindowDpiScale(IntPtr) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Retours
Échelle en PPP de la fenêtre.