ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEnVect: Import WMF, Iterate, Build Polygons

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com