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