Table of Contents

TTMSFNCUtils.IsHighDPIScale Method

Returns True if the application is running at a DPI scale greater than 100%.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function IsHighDPIScale(AOwner: TComponent = nil; ADefaultDPI: Integer = -1): Boolean;

Parameters

Name Description
AOwner Optional component used to determine the monitor or form DPI context.
ADefaultDPI Baseline DPI to compare against; -1 uses the system default (96).

Returns

True when the DPI scale is greater than 1.0; otherwise False.