Vcl.Graphics.TBitmap.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

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

Description

Instantiates a bitmap object.

Call Create to instantiate a bitmap object at runtime. Create is also called automatically when a bitmap image is loaded into a TImage.

Create allocates memory for a bitmap object, and calls the inherited Create. Then it creates a TBitmapImage as the internal image that represents the bitmap.

See Also

Code Examples