PRB: Metafile Distorted in OLE Client Application (89552)
The information in this article applies to:
This article was previously published under Q89552 SYMPTOMS
When an OLE client application displays an object on certain display
devices, the object appears smaller than it does when displayed in the OLE
server application. The object appears distorted in the client application.
CAUSE
A metafile is used as the OLE object presentation format. The metafile
is distorted because the DPtoLP() and LPtoDP() functions should use
"logical inches" to convert measurement units into the MM_HIMETRIC
mapping mode; however, they do not.
RESOLUTION
Rewrite the DPtoLP() and LPtoDP() functions in the OLE client
application to perform the proper metafile scaling. These rewritten
functions will not scale bitmaps properly. They should be used only
with the metafile presentation format.
Modification Type: | Major | Last Reviewed: | 10/27/1999 |
---|
Keywords: | KB89552 |
---|
|