ImageEn, unit iexMetaHelpers |
|
TIEMetaListView.Assign
Declaration
procedure Assign(Source: TObject); overload;
procedure Assign(Source: TStream); overload;
procedure Assign(const Filename: string); overload;
Description
Fills the control with the meta-data.
The source can be any one of:
◼TImageEnView
◼TImageEnMView
◼TIOParams
◼TIEBitmap (with
Params enabled
◼Image file
◼Image stream
Alternatively, you can
attach a
TImageEnView to show content for the displayed image
// Show params for the image in a TImageEnView (alternative to attaching it)
IEMetaListView1.Assign( ImageEnView1 );
// Show params for the selected image in a TImageEnMView
IEMetaListView1.Assign( ImageEnMView1 );
// Show params for an image file
IEMetaListView1.Assign( 'C:\Image.jpeg' );
// Show only document properties for the current PDF
ImageEnView1.PdfViewer.Enabled := True;
ImageEnView1.IO.LoadFromFile( 'D:\Abobe Document.pdf' );
IEMetaListView1.GroupView := False;
IEMetaListView1.AutoShowTypes := [];
IEMetaListView1.AlwaysShowTypes := [ iemPDF ];
IEMetaListView1.Assign( ImageEnView1.IO.Params );