Vcl.Graphics.TMetafile.Inch

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Inch: Word read GetInch write SetInch;

C++

__property System::Word Inch = {read=GetInch, write=SetInch, nodefault};

Properties

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

Description

Returns the units per inch that are used for the metafile's coordinate mapping.

Use Inch to find the units per inch assumed by a WMF metafile, and to alter scale when writing as WMF, but otherwise this property is obsolete. Enhanced metafiles maintain complete scale information internally. For example, if the metafile was created in a Twips coordinate system (using MM_TWIPS mapping), the value of Inch is 1440.