Vcl.Controls.TControl.ScaleValue

From RAD Studio API Documentation
Jump to: navigation, search

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

Properties

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

Description

The overloaded ScaleValue methods return a measure passed as parameter scaled by the current scale factor for the control (the value of the ScaleFactor read-only property).