Vcl.Graphics.TPicture.Bitmap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Bitmap: TBitmap read GetBitmap write SetBitmap;

C++

__property TBitmap* Bitmap = {read=GetBitmap, write=SetBitmap};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TPicture

Description

Specifies the contents of the picture object as a bitmap graphic (.BMP file format).

Use Bitmap to reference the picture object when it contains a bitmap. If Bitmap is referenced when the picture contains a Metafile or Icon graphic, the graphic won't be converted (Types of Graphic Objects). Instead, the original contents of the picture are discarded and Bitmap returns a new, blank bitmap.

Note: When assigning the Bitmap property, TPicture assigns the properties of a another TBitmap object. It does not take ownership of the specified value.

See Also

Code Examples