Declaration
procedure MergeMetafile(const FileName: WideString; X, Y, Width, Height: Integer);
Description
Loads a metafile and draws it at the X, Y position using sizes of Width and Height.
If Width or Height is -1 the other is auto-calculated to maintain the aspect ratio.
Example
ImageEnView1.IO.LoadFromFile('C:\backgroundimage.jpg');
ImageEnView1.IO.MergeMetaFile('C:\overimage.wmf', 100, 100, 120, -1);