ImageEn, unit hyieutils

TIEDictionary.GetInteger

TIEDictionary.GetInteger


Declaration


function GetInteger(key: WideString; recursive: boolean = true): integer;


Description


Returns the integer 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 search this key inside sub-dictionaries



Examples


// Return the Photoshop Color Mode from the XMP metadata
iColorMode := ImageEnView1.IO.Params.Dict.GetDictionary( 'XMP' ).GetInteger( 'photoshop:ColorMode' );