ImageEn, unit iexMetaHelpers |
|
TStringGridHelper.ReadGridFromXMP
Declaration
function ReadGridFromXMP(IOParams : TIOParams) : Boolean; overload;
function ReadGridFromXMP(const sFilename : string) : Boolean; overload;
Description
Fill a TStringGrid with XMP properties of the current image, or one loaded from file.
Two columns will be added with the left one containing property descriptions and the right one containing XMP values (using
GetString). If the grid has a fixed row it will be given a heading of "Name" and "Value".
Result is true if the file has XMP fields.
Note: Only
common XMP fields are added
Demo
| Demos\InputOutput\XMP\XMP.dpr |
Examples
// Display the XMP properties of the current image
MyXMPGridView.ReadGridFromXMP( ImageEnView1.IO.Params );
// Display of XMP properties of a file
MyXMPGridView.ReadGridFromXMP( 'C:\MyImage.jpeg' );