Class TAdBMPImage

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdBMPImage = class(TObject)

Description

Class that is able to load and save Windows bitmaps

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public procedure LoadFromStream(AStream: TStream);
Public procedure LoadFromFile(const Filename: string);
Public procedure SaveToStream(AStream: TStream);
Public procedure SaveToFile(const Filename: string);

Properties

Public property Width: integer read GetWidth;
Public property Height: integer read GetHeight;
Public property Bitmap: TAdBitmap read FBitmap write SetBitmap;
Public property Header: TAdBitmapInfoHeader read FBMPInfoHeader;

Description

Methods

Public constructor Create;

Creates an instance of TAdBMPImage.

Public destructor Destroy; override;

Destroys the instance of TAdBMPImage.

Public procedure LoadFromStream(AStream: TStream);

Loads the BMP image from a stream.

Public procedure LoadFromFile(const Filename: string);

Loads the BMP image from a file.

Public procedure SaveToStream(AStream: TStream);

Saves the BMP image to a stream.

Public procedure SaveToFile(const Filename: string);

Saves the BMP image to a file.

Properties

Public property Width: integer read GetWidth;

Returns the width of the currently loaded image.

Public property Height: integer read GetHeight;

Returns the height of the currently loaded image.

Public property Bitmap: TAdBitmap read FBitmap write SetBitmap;

The Andorra image wherefrom the image data is written to/read from.

Public property Header: TAdBitmapInfoHeader read FBMPInfoHeader;

Access on the bitmap info header.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:58