Vcl.Controls.TControl.ScaleValue
Delphi
function ScaleValue(const Value: Integer): Integer; overload;
function ScaleValue(const Value: Double): Double; overload;
function ScaleValue(const Value: TPoint): TPoint; overload;
function ScaleValue(const Value: TRect): TRect; overload;
function ScaleValue(const Value: TSize): TSize; overload;
C++
int __fastcall ScaleValue(const int Value)/* overload */;
double __fastcall ScaleValue(const double Value)/* overload */;
System::Types::TPoint __fastcall ScaleValue(const System::Types::TPoint &Value)/* overload */;
System::Types::TRect __fastcall ScaleValue(const System::Types::TRect &Value)/* overload */;
System::Types::TSize __fastcall ScaleValue(const System::Types::TSize &Value)/* overload */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControl |
Beschreibung
Die überladenen ScaleValue-Methoden geben das als Parameter übergebene Maß zurück, skaliert mit dem aktuellen Skalierungsfaktor des Steuerelements (dem Wert der schreibgeschützten Eigenschaft ScaleFactor).