Прочетете на английски Редактиране

Споделяне чрез


Button.RescaleConstantsForDpi(Int32, Int32) Method

Definition

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

C#
protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew);

Parameters

deviceDpiOld
Int32

The DPI value prior to the change.

deviceDpiNew
Int32

The DPI value after the change.

Applies to

Продукт Версии
.NET Framework 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10