[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.ScaleScreenToFont

Scales a size value from the PPI setting for the Screen to the PPI setting for the Font in the control.

Declaration

Source position: controls.pp line 1634

public function TControl.ScaleScreenToFont(

  const ASize: Integer

):Integer;

Arguments

ASize

  

Original size value scaled in the method.

Function result

Scaled size value.


Version 4.0 Generated 2025-05-03 Home