save wmf file, unexpected result
Posted: Sat Nov 21, 2015 5:03 am
by maxchen
EV9 XP x86, ver20151116
Code: Select all
wfcreate u 8
genr x = @obsid
x(7) = 1
freeze(gf) x.line
gf.axis range(2,5)
gf.save(t=wmf) gf.wmf
gf.save(t=emf) gf.emf
for the save wmf file, the graph was not cropped, the lines go out of the frame.
- gf.wmf.7z
- wmf file
- (559 Bytes) Downloaded 2114 times
jpg version of wmf

- screen capture of emf to jpg
- gf.jpg (7.05 KiB) Viewed 6071 times
Re: save wmf file, unexpected result
Posted: Mon Nov 23, 2015 4:20 pm
by EViews Jason
That is actually correct. The successor to wmf files, emf files support clipping.
Re: save wmf file, unexpected result
Posted: Mon Nov 23, 2015 6:10 pm
by maxchen
thanks! Once I have been told to avoid EMF, for its specification is not published.
But now, it seems the specs of both EMF and WMF are publicly released, on msdn
[MS-EMF]: Enhanced Metafile Format
https://msdn.microsoft.com/en-us/library/cc230514.aspx
[MS-WMF]: Windows Metafile Format
https://msdn.microsoft.com/en-us/library/cc250370.aspx