Click here to Skip to main content
15,880,972 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I hooked GdipRecordMetafile flat function in GDIPLUS.DLL, and changed the referenceHdc, frameUnit, frameRect before calling the original SDK one. My aim is to make whoever creating an enchanced meta file to generate a PNG bitmap with frame units of MetafileFrameUnitGdi (GDI compatible .01 MM units), instead of MetafileFrameUnitPixel. It used to work on Office 2010, but when I upgrade to 2013, it failed, and just produced the PNG in MetafileFrameUnitPixel form.

I would like to know if it is a problem with 2013, or is it an intended feature?


PS: Document for GdipRecordMetafile: Graphics Functions[^]
Posted
Updated 3-Dec-13 8:47am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900