Vcl.Graphics.TBitmap.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

constructor Create; overload; override;
constructor Create(AWidth, AHeight: Integer); overload;

C++

__fastcall virtual TBitmap()/* overload */;
__fastcall TBitmap(int AWidth, int AHeight)/* overload */;

Propriétés

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

Description

Instancie un objet bitmap.

Appelez Create pour instancier un objet bitmap l'exécution. Create est aussi appelé automatiquement lorsqu'une image bitmap est chargée dans un objet TImage.

Create alloue de la mémoire pour un objet bitmap et appelle la méthode héritée Create. Elle crée ensuite un objet TBitmapImage comme image interne représentant le bitmap.

Voir aussi