ImageEn, unit hyieutils

TIEDictionary.GetDouble

TIEDictionary.GetDouble


Declaration

function GetDouble(const key: WideString; recursive: boolean = true): double; overload;
function GetDouble(const key: WideString; const Def: double; recursive: boolean = true): double; overload;


Description

Returns the double value to which the key is mapped in this dictionary. If the key doesn't exist an exception is raised.

Parameter Description
key A key in this dictionary
recursive If true then it will also search for this key in sub-dictionaries
Note: Use '#text' as the key to get the values from a tag list, e.g. memo1.lines.add( dict.GetString( '#text', false ));