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

# TGridColumnTitle.FixDesignFontsPPI

Corrects the design-time PPI for the column title.

## Declaration

Source position: grids.pas line 497

`public procedure TGridColumnTitle.FixDesignFontsPPI(`
`const ADesignTimePPI: Integer`
`); virtual;`

## Description

FixDesignFontsPPI is a procedure used to correct the design-time Pixels Per Inch setting for the component. Pixels Per Inch for Fonts is not saved in LFM files, and the design-time setting may differ from the run-time setting on a target machine. This adversely affects font scaling.

FixDesignFontsPPI calls the DoFixDesignFontPPI method in the Grid control for the column to adjust the font PPI to the value specified in ADesignTimePPI.

## See also

TGridColumnTitle.Font |  | Contains the typeface and text attributes for the Caption displayed in the column title.
TGridColumn.Grid |  | The grid control to which this column belongs.
TControl.DoFixDesignFontPPI |  | Applies the design-time PPI and resizes the specified control font.