Label.RescaleConstantsForDpi(Int32, Int32) Method

Definition

发生 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)

Parameters

deviceDpiOld
Int32

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

deviceDpiNew
Int32

更改后的 DPI 值。The DPI value after the change.

Applies to