Hello Everyone,
After upgrading to the VPE 3.5 Active X component, I have experienced an intermittent problem while printing windows metafile (wmf) diagrams from a Visual Basic 6.0 program. About 10% of the time, the diagrams are distorted, flattened, or squeezed on the x or y axis. Sometimes the image appears normal except that one or more objects in the diagram will be flipped like a mirror image, or maybe the font size of some text or an arc will balloon up to a huge size relative to the rest of the picture.
Another common occurrence happens when printing a series of diagrams in sequence. The first diagram prints correctly, but the subsequent diagrams print with the same renderwidth as the first one, as if Vpe hasn't let go of the x1, x2 settings. (I am closing each doc after printing before opening the next one.)
Here is the code I am using:
' Call mForm.cVPE.RenderPicture(VFREE, 724, App.Path & "\EASYVPE.WMF", PIC_KEEPIMAGE)
' Call mForm.cVPE.Picture(800 - Int(mForm.cVPE.nRenderWidth / 2), 1066, VFREE, 1790, App.Path & "\EASYVPE.WMF", 0)
If anyone has experienced a similar problem, please reply.