Table of Contents

TTMSFNCUtils.ScaleForDPI Method

Scales AControl and its children to match the specified DPI.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class procedure ScaleForDPI(AControl: TControl; ADPI: Integer);

Parameters

Name Description
AControl The control to scale.
ADPI Target DPI value.