Class TrImageListEx

Unit

Declaration

type TrImageListEx = class(TImageList)

Description

enhanced TImageList component which provides storing of images in external compressed resource file in design and runtime and can block storing images in DFM file for descendant modules, so list can be used in ihnerited forms

Hierarchy

  • TImageList
  • TrImageListEx

Overview

Methods

Public procedure StoreAsOriginalImages;
Public procedure ResizeImages(ScaleRatio: double);

Properties

Published property StoreToDFM: Boolean read FStoreToDFM write FStoreToDFM default true;
Published property StoreToExternalFile: Boolean read FStoreToExternalFile write FStoreToExternalFile default false;
Published property ExternalFileName: string read FExternalFileName write FExternalFileName;
Published property ExternalFileDesignTimeDir: string read FExternalFileDesignTimeDir write FExternalFileDesignTimeDir stored IsStoredDesignTimeDir;
Published property MinScaleToResize: double read FMinScaleToResize write FMinScaleToResize stored IsMinScaleToResizeStored;

Description

Methods

Public procedure StoreAsOriginalImages;

stores current images to internal image list wich is used as source of images during resizing, is called automatically durong loading

Public procedure ResizeImages(ScaleRatio: double);

change Width and Height of image list and resize images

Properties

Published property StoreToDFM: Boolean read FStoreToDFM write FStoreToDFM default true;

define whether images are stored in DFM

Published property StoreToExternalFile: Boolean read FStoreToExternalFile write FStoreToExternalFile default false;

define whether images are stored in external file

Published property ExternalFileName: string read FExternalFileName write FExternalFileName;

define file name of external file if StoreToExternalFile=true

Published property ExternalFileDesignTimeDir: string read FExternalFileDesignTimeDir write FExternalFileDesignTimeDir stored IsStoredDesignTimeDir;

define directory of external file for design time if StoreToExternalFile=true

Published property MinScaleToResize: double read FMinScaleToResize write FMinScaleToResize stored IsMinScaleToResizeStored;

define minimal scale ration when images are streched, in ther case images are only centered


Generated by PasDoc 0.15.0.