I have a metafile image saved to disk. I would like to read in this image, snag just a portion of it (the upper left corner), and write that portion back out to a new metafile.
I tried creating a TMetafile, loading in the file and then creating a 2nd TMetafile, setting the size and copying to it. Even if I don't "SetSize" and do a one-to-one copy, the 2nd metafile is always much larger than the original.
Am I doing something really stupid here? Is there an easier way to do this.
WMF1 := TMetaFile.Create;
WMF2 := TMetaFile.Create;
WMFCanvas := TMetaFileCanvas.Create(WMF2,0);