ImageEn, unit iesettings

TIEGlobalSettings.AutoScale

TIEGlobalSettings.AutoScale


Declaration

property AutoScale: TIEDPIScaling;


Description

Specifies whether ImageEn will scale some features when displayed on a monitor where windows scaling is enabled.

Set to iedsDisabled to prevent scaling of the following features:

Affected TImageEnView Features
Rulers
Auto Toolbars
Button Sizes

Affected TImageEnMView/TImageEnFolderMView/TImageEnLayerMView Properties
Thumb Size
Text Size
Checkbox Sizes
Button Sizes

Affected TIERichEdit Features
Auto Toolbar

Use of iedsDisabledInternalEx or iedsDisabledInternalFontEx is not recommended and may give unpredictable results. iedsDisabledInternalEx totally disables scaling including fonts and internal scaling of controls. iedsDisabledInternalFontEx disables scaling of fonts, but allows internal scaling of controls.

Note:
Scaling requires Delphi/BCB 10.3 Rio or newer
It is recommended that you configure your project to use Per Monitor v2 DPI awareness



Default: iedsEnabled


Examples

// Disable scaling in ImageEn
IEGlobalSettings().AutoScale := iedsDisabled;
ImageEnView1.Update();
ImageEnMView1.Update();