[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 1642

public function TControl.ScaleScreenToFont(

  const ASize: Integer

):Integer;

Arguments

ASize

  

Original size value scaled in the method.

Function result

Scaled size value.


Version 3.2 Generated 2024-02-25 Home