Label.RescaleConstantsForDpi(Int32, Int32) Label.RescaleConstantsForDpi(Int32, Int32) Label.RescaleConstantsForDpi(Int32, Int32) Label.RescaleConstantsForDpi(Int32, Int32) Method

定義

提供在發生 DPI 變更時用來重新調整控制項的常數。Provides constants for rescaling the control when a DPI change occurs.

protected:
 override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew);
protected override void RescaleConstantsForDpi (int deviceDpiOld, int deviceDpiNew);
override this.RescaleConstantsForDpi : int * int -> unit
Protected Overrides Sub RescaleConstantsForDpi (deviceDpiOld As Integer, deviceDpiNew As Integer)

參數

deviceDpiOld
Int32 Int32 Int32 Int32

變更之前的 DPI 值。The DPI value prior to the change.

deviceDpiNew
Int32 Int32 Int32 Int32

變更之後的 DPI 值。The DPI value after the change.

適用於