Class TAdGUIImage

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdGUIImage = class(TAdComponent)

Description

A simple image component.

Hierarchy

Overview

Methods

Public constructor Create(AParent:TAdComponent); override;
Public destructor Destroy; override;
Public procedure LoadFromXML(aroot:TAdSimpleXMLElem); override;
Public function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override;

Properties

Published property Center: boolean read FCenter write FCenter;
Published property Stretch: boolean read FStretch write FStretch;
Published property Proportional: boolean read FProportional write FProportional;
Published property AutoSize: boolean read FAutoSize write FAutoSize;
Published property Picture: TAdResourceImage read FPicture;

Description

Methods

Public constructor Create(AParent:TAdComponent); override;

Creates an instance of TAdGUIImage.

Public destructor Destroy; override;

Destroys the instance of TAdGUIImage.

Public procedure LoadFromXML(aroot:TAdSimpleXMLElem); override;

Loads the settings and picture data from XML.

Public function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override;

Saves the settings and picture data to XML.

Properties

Published property Center: boolean read FCenter write FCenter;

Specifies, whether the image should be centered.

Published property Stretch: boolean read FStretch write FStretch;

Specifies, whether the image should be streched.

Published property Proportional: boolean read FProportional write FProportional;

Specifies, wheter the image should be streched proportional. If true the image will automaticly be minimized, if the component is smaller than the image.

Published property AutoSize: boolean read FAutoSize write FAutoSize;

If true, the size of the component will automaticly be set to the size of the image

Published property Picture: TAdResourceImage read FPicture;

The picture resource.

SourceForge.net Logo


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