[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Scales font sizes in the class instance to the specified display density.
Source position: grids.pas line 498
public procedure TGridColumnTitle.ScaleFontsPPI( |
const AToPPI: Integer; |
const AProportion: Double |
); virtual; |
AToPPI |
|
Explicit Pixels per Inch setting for the fonts. |
AProportion |
|
Scaling factor applied to the existing PPI setting for the fonts. |
ScaleFontsPPI is an overridden procedure used to scale the size for the fonts in the Grid and Title properties to the specified display density (PPI) (Pixels Per Inch).
AToPPI contains the value assigned to the fonts used when a non-zero value is specified.
If AToPPI is omitted, the scaling factor in AProportion is used to adjust the existing PPI setting in the fonts by the indicated factor.
ScaleFontsPPI is called when the AutoAdjustLayout method is used to apply a layout policy to a control.
Version 4.0 | Generated 2025-05-03 | Home |