CellPicture Property (ModHFGrid)

See Also    Example    Applies To

Returns or sets an image to be displayed in the current cell or range of cells. This property is not available at design time.

Syntax

object.CellPicture [=picture]

The CellPicture property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
picture A bitmap, icon, or metafile graphic. This can be assigned to another control's Picture property.

Remarks

You can set this property at run time using the LoadPicture function on a bitmap, icon, or metafile or by assigning to it another control's Picture property.

Changing this property affects the current cell or the current selection, depending on the setting of the FillStyle property.

Each cell may contain text and a picture. The relative position of the text and picture is determined by the CellAlignment and CellPictureAlignment properties.