Vcl.Controls.TControl.ScaleValue

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl


Description

Les méthodes ScaleValue surchargées renvoient une mesure transmise en tant que paramètre mis à l'échelle par le facteur d'échelle en cours du contrôle (la valeur de la propriété ScaleFactor en lecture seule).