CellPictureAlignment Property

Returns or sets the alignment of the pictures in the selected cell or range.

Syntax

[form!]VSFlexGrid.CellPictureAlignment[ = PictureAlignmentSettings ]

Remarks

Valid settings for the CellPictureAlignment property are:

 

Constant

Value

flexPicAlignLeftTop

0

flexPicAlignLeftCenter

1

flexPicAlignLeftBottom

2

flexPicAlignCenterTop

3

flexPicAlignCenterCenter

4

flexPicAlignCenterBottom

5

flexPicAlignRightTop

6

flexPicAlignRightCenter

7

flexPicAlignRightBottom

8

flexPicAlignStretch

9

flexPicAlignTile

10

 

This property also governs the alignment of check boxes in the cells (see the CellChecked property).

Changing this property affects the current cell or the current selection depending on the setting of the FillStyle property. To set the picture alignment of an arbitrary range of cells (not necessarily the current selection), use the Cell property instead.

Data Type

PictureAlignmentSettings (Enumeration)

See Also

VSFlexGrid Control