Control.RescaleConstantsForDpi(Int32, Int32) Method

Definition

Provides constants for rescaling the control when a DPI change occurs.

protected:
 virtual void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew);
[System.ComponentModel.Browsable(true)]
protected virtual void RescaleConstantsForDpi (int deviceDpiOld, int deviceDpiNew);
abstract member RescaleConstantsForDpi : int * int -> unit
override this.RescaleConstantsForDpi : int * int -> unit
Protected Overridable 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.

Attributes

Applies to