Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDC::LPtoHIMETRIC
Collapse the table of content
Expand the table of content

CDC::LPtoHIMETRIC

Call this function to convert logical units into HIMETRIC units.

void LPtoHIMETRIC( 
   LPSIZE lpSize  
) const;

lpSize

Points to a SIZE structure or a CSize object.

Use this function when you give HIMETRIC sizes to OLE, converting from your application's natural mapping mode. Note that the extents of the device's window and viewport will affect the result.

The conversion is accomplished by first converting the logical units into pixels using the device context's current mapping units and then converting these units into HIMETRIC units.

Header: afxwin.h

Show:
© 2015 Microsoft