ImageEn, unit iexMetaHelpers

TIOParamsHelper.XMP_AsInt

TIOParamsHelper.XMP_AsInt


Declaration

property XMP_AsInt [Field : Integer]: Integer; (read-only)


Description

A shortcut function that calls:
Result := Dict.GetDictionary( 'XMP' ).GetInteger( Field, True )

Any XMP field, such as photoshop:ColorMode, can be specified. Result is 0 if the field is not found or not an integer field. Consts are available common XMP fields



Notes:
- You must add iexMetaHelpers to your uses clause to access this property
- Delphi/C++ 2005 or newer is required


Examples

// Return the Photoshop Color Mode from the XMP metadata
iColorMode := ImageEnView1.IO.Params.XMP_AsInt[ 'photoshop:ColorMode' ];


See Also

- XMP_AsStr
- XMP_AsDateTime
- XMP_Info
- Dict