TIEImageEnGlobalSettings.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 SizesAffected TImageEnMView/TImageEnFolderMView/TImageEnLayerMView Properties-
Thumb Size-
Text Size-
Checkbox Sizes-
Button SizesAffected TIERichEdit Features-
Auto ToolbarUse 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.
Notes:
- 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();