API:System.ConvUtils.TConvTypeFactor.Create
Delphi
constructor Create(const AConvFamily: TConvFamily; const ADescription: string;
const AFactor: Double);
C++
__fastcall TConvTypeFactor(const TConvFamily AConvFamily, const System::UnicodeString ADescription, const double AFactor);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.ConvUtils.pas System.ConvUtils.hpp |
System.ConvUtils | TConvTypeFactor |
Description
Creates an instance of TConvTypeInfo.
System.ConvUtils.TConvTypeFactor.Create inherits from System.ConvUtils.TConvTypeInfo.Create. All content below this line refers to System.ConvUtils.TConvTypeInfo.Create.
Creates an instance of TConvTypeInfo.
Call Create to instantiate a TConvTypeInfo descendant at runtime. This descendant can then be passed to the RegisterConversionType function in order to register a new conversion type.
Create assigns the AConvFamily parameter to the ConvFamily property and the ADescription parameter to the Description property. If AConvFamily is not the identifier of a registered conversion family, Create raises an EConversionError exception.