Vcl.Graphics.TPicture.Metafile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Metafile: TMetafile read GetMetafile write SetMetafile;

C++

__property TMetafile* Metafile = {read=GetMetafile, write=SetMetafile};

Properties

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

Description

Specifies the contents of the picture object as an Enhanced Windows metafile graphic (.EMF file format).

If Metafile is referenced when the TPicture contains a Bitmap or Icon graphic, the graphic won't be converted. Instead, the original contents of the TPicture are discarded and Metafile returns a new, blank metafile (Types of Graphic Objects ).

Note: When assigning the Metafile property, TPicture assigns the properties of a another TMetafile object. It does not take ownership of the specified value.

See Also