Image Property

Returns a picture object of the object's image.

Syntax

[ picImage = ] Object.Image

The Image property syntax has the following parts:

 

Name

Type

Description

Object

A control or AForm

A control or AForm object

picImage

APicture

A picture object of the object's image.

Comments

The picture image contains the image of the control, with all of its properties set at design time. This can be useful to use in reports, etc. This property can be set at design time and is read-only at run time.

Example

The following examples saves the chart control image to a temporary file and appends the image to HTML log:

SavePicture(cht.Image, "c:\\temp\\~a.bmp")

print "<IMG SRC=\"c:\\temp\\~a.bmp\">"

Applies to

All controls and the AForm.

See Also

AControl, AImage, APicture, SavePicture