Vcl.Controls.TWinControl.ScalePadding
Delphi
procedure ScalePadding(M, D: Integer);
C++
void __fastcall ScalePadding(int M, int D);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TWinControl |
Description
Scales the control padding to the given ratio.
Call ScalePadding to scale the padding coordinates of the control to the given M/D ratio.