Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#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 1566

public function TControl.ScaleScreenToFont(

  const ASize: Integer

):Integer;

Arguments

ASize

  

Original size value scaled in the method.

Function result

Scaled size value.



CT Web help

CodeTyphon Studio