Vcl.Graphics.TMetafile.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

constructor Create; override;

C++

__fastcall virtual TMetafile()/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
constructor public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TMetafile

Description

Instancie un objet métafichier.

Appelez Create pour instancier un métafichier à l'exécution.

Create alloue de la mémoire pour un objet métafichier et appelle la méthode héritée Create. Puis elle initialise les propriétés Enhanced et Transparent à true.

Pour créer une image métafichier à partir de rien, dessinez l'image dans un canevas de métafichier. Quand le canevas du fichier est détruit, il transfère l'image dans l'objet métafichier spécifié par le constructeur du canevas de métafichier. Une fois l'image dessinée dans le canevas et le canevas détruit, l'image est "exécutable" dans l'objet métafichier.

Voir aussi