[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Bitmap resource type
Source position: bitmapresource.pp line 36
type TBitmapResource = class(TAbstractResource) |
||
protected |
||
function GetType; override; |
||
function GetName; override; |
||
function ChangeDescTypeAllowed(); override; |
||
function ChangeDescValueAllowed(); override; |
||
procedure NotifyResourcesLoaded; override; |
||
public |
||
constructor Create(); |
|
Creates a new bitmap resource |
destructor Destroy; override; |
||
procedure UpdateRawData; override; |
||
procedure SetCustomBitmapDataStream(); |
|
Sets a custom stream as the underlying stream for BitmapData |
property BitmapData: TStream; [r] |
|
Resource data as a BMP stream |
end; |
|
Bitmap resource type |
|
| | ||
|
Base abstract resource class |
|
| | ||
TObject |
This class represents a resource of type RT_BITMAP.
A bitmap resource contents is very similar to a BMP file. However some differences exists, so RawData is not appropriate if you need to read and write BMP data. Instead, BitmapData property gives access to a BMP file-like stream.
Remark: | This class doesn't allow its type to be changed to anything else than RT_BITMAP. Attempts to do so result in a EResourceDescChangeNotAllowedException. |
|
Resource data as a BMP stream |
|
|
The raw resource data stream |