API:Vcl.Graphics.TMetafile

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Graphics.TGraphicSystem.Classes.TInterfacedPersistentSystem.Classes.TPersistentSystem.TObjectTMetafile

Delphi

TMetafile = class(TGraphic)

C++

class PASCALIMPLEMENTATION TMetafile : public TGraphic

Properties

Type Visibility Source Unit Parent
class public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

TGraphic is the abstract base class type for objects such as icons, bitmaps, and metafiles that can store and display visual images.

Vcl.Graphics.TMetafile inherits from Vcl.Graphics.TGraphic. All content below this line refers to Vcl.Graphics.TGraphic.

TGraphic is the abstract base class type for objects such as icons, bitmaps, and metafiles that can store and display visual images.

TGraphic is an abstract class that cannot be instantiated. Descendant graphics objects override many of the methods of TGraphic to address the needs of their particular file format and graphical characteristics. TGraphic also introduces methods that work with TPicture objects and the Clipboard. Properties of TGraphic provide information about the state and size of the graphic image.

When the type of graphic is known, store the graphic in its specific type object. Otherwise, use a TPicture object that can hold any type of TGraphic.

See Also