Graphics.TMetafile

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Graphics.pas

TMetafile = class(TGraphic)


Unit: Graphics

Type: class

Inherited Class Members: Graphics.TMetafile Members

Class Properties: Graphics.TMetafile Properties

Class Methods: Graphics.TMetafile Methods

Class Constructors & Destructors: Graphics.TMetafile Constructors

C++ Information

From Graphics.hpp

TMetafile = class(TGraphic)


Unit: Graphics

Type: class

Inherited Class Members: Graphics.TMetafile Members

Class Properties: Graphics.TMetafile Properties

Class Methods: Graphics.TMetafile Methods

Class Constructors & Destructors: Graphics.TMetafile Constructors

Description

TMetafile is an encapsulation of the Win32 Enhanced metafile.


TMetafile contains a metafile graphic (EMF file format).

Properties of TMetafile indicate the size and characteristics of the metafile.

To draw a metafile on a canvas, call the Draw or StretchDraw methods of a TCanvas object, passing a TMetafile as a parameter. The Enhanced property determines how the metafile will be stored on disk. If Enhanced is true, the metafile is stored as an .EMF (Win32 Enhanced Metafile) file. If Enhanced is false, the metafile is stored as a .WMF (Windows 3.1 Metafile, with Aldus header).

See Also

Personal tools
Translations
Newest Version