I can't read the EMF binary file. When I hex-dump it, I still don't understand it. Is th开发者_开发问答ere any software to read GDI commands from an EMF file? Thanks.
Your best bet is the EnumEnhMetaFile()
API function.
http://www.flounder.com/metafileexplorer.htm
I've found the Metafile Explorer utility to be quite useful. Not only can you dump a listing of the individual EMF records in the file, but you can also use this utility as a debugger which allows you to single step thru the EMF records while viewing the EMF output being created at the same time. This is a free utility and is the best I've seen for debugging an EMF file.
I found this, it's good! It can convert emf to GDI or GDI+ commands.
http://frazmitic.free.fr/emfexplorer/index.htm
精彩评论