Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
andyhill
Posted - Mar 06 2017 : 18:34:54 I want to Import a WMF/EMF File into ImageEnVect and then iterate all of the objects building my own Polygon Point Arrays (in other words, convert WMF to ImageEnVect Objects).
ImageEnVect1.IO.ImportMetafile('C:\File.emf', 500, -1, True);
//
for i:= 0 to ImageEnVect1.ObjectsCount-1 do begin
hobj:= ImageEnVect1.GetObjFromIndex(i);
// Line or Polygon
if ImageEnVect1.ObjKind[hObj] = iekLINE then begin
// Get Points etc.
end;
end;
Please advise - thanks in advance
Andy
1 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Mar 07 2017 : 22:41:20 Hi Andy
I'm afraid that is not possible. ImageEn imports meta files as bitmaps.