แก้ไข

แชร์ผ่าน


Button.RescaleConstantsForDpi(Int32, Int32) Method

Definition

Provides constants for rescaling the Button 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

The DPI value prior to the change.

deviceDpiNew
Int32

The DPI value after the change.

Applies to