Image.OnDpiChanged(DpiScale, DpiScale) 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.
Appelé lorsque l’ppp auquel cette image est rendue change.
protected:
override void OnDpiChanged(System::Windows::DpiScale oldDpi, System::Windows::DpiScale newDpi);
protected override void OnDpiChanged(System.Windows.DpiScale oldDpi, System.Windows.DpiScale newDpi);
override this.OnDpiChanged : System.Windows.DpiScale * System.Windows.DpiScale -> unit
Protected Overrides Sub OnDpiChanged (oldDpi As DpiScale, newDpi As DpiScale)
Paramètres
- oldDpi
- DpiScale
Paramètre d’échelle DPI précédent.
- newDpi
- DpiScale
Nouveau paramètre de mise à l’échelle ppp.