function DpiAware(value: Integer): Integer; overload;
function DpiAware(value: double): double; overload;
Scales 'value' according to screen resolution (ie screen pixels/inch or 'dots per inch'). (See Windows OS Settings | System | Display | Scale & Layout.)
Provides a way to achieve consistent sizing of images and controls that's relatively independent of the display's resolution.
See https://docs.microsoft.com/en-us/windows/desktop/hidpi/high-dpi-desktop-application-development-on-windows
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025