Modifier

Partager via


ScrollBar.RescaleConstantsForDpi(Int32, Int32) Method

Definition

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