Vcl.Graphics.TMetafile.MMWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MMWidth: Integer read GetMMWidth write SetMMWidth;

C++

__property int MMWidth = {read=GetMMWidth, write=SetMMWidth, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TMetafile

Description

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

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.

See Also