System.ConvUtils.CompatibleConversionTypes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CompatibleConversionTypes(const AFrom, ATo: TConvType): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall CompatibleConversionTypes(const TConvType AFrom, const TConvType ATo);

Properties

Type Visibility Source Unit Parent
function public
System.ConvUtils.pas
System.ConvUtils.hpp
System.ConvUtils System.ConvUtils

Description

Indicates whether the Convert function can convert between two specified conversion types.

CompatibleConversionTypes returns true if AFrom and ATo are in the same conversion family, false otherwise.

When two conversion types are in the same family, the Convert function can convert between measurements that use them.

See Also