RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMetafile.MMWidth Property

Contains the width of the metafile image in 0.01 millimeter units, the native scale used by enhanced metafiles.

Pascal
property MMWidth: Integer;
C++
__property int MMWidth;

MMWidth is used for a more accurate reading of the horizontal size of the graphic. The Width property, by contrast, is always in screen device pixel units; to avoid loss of precision in converting between device pixels and millimeters, set or read the dimensions in millimeters with MMWidth. 

The MMWidth property is always in screen device pixel units. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!