Graphics.TPicture.Metafile

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Graphics.pas

	property Metafile: TMetafile read GetMetafile write SetMetafile;


Unit: Graphics

Type: property

Visibility: public

Member Of: TPicture

C++ Information

From Graphics.hpp

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


Unit: Graphics

Type: property

Visibility: public

Member Of: 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.

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

Personal tools
Translations
Newest Version