Enumerated value
|
Value
|
Meaning
|
PictPositions.CenterMiddle
|
0 (default)
|
Center (Horizontal) Middle (Vertical)
|
PictPositions.LeftTop
|
1
|
Left (Horizontal) Top (Vertical)
|
PictPositions.CenterTop
|
2
|
Center (Horizontal) Top (Vertical)
|
PictPositions.RightTop
|
3
|
Right (Horizontal) Top (Vertical)
|
PictPositions.LeftMiddle
|
4
|
Left (Horizontal) Middle (Vertical)
|
PictPositions.RightMiddle
|
5
|
Right (Horizontal) Middle (Vertical)
|
PictPositions.LeftBottom
|
6
|
Left (Horizontal) Bottom (Vertical)
|
PictPositions.CenterBottom
|
7
|
Center (Horizontal) Bottom (Vertical)
|
PictPositions.RightBottom
|
8
|
Right (Horizontal) Bottom (Vertical)
|
PictPositions.Tile
|
9
|
If the picture size is smaller than the button size the picture is tiled in order to completely cover the button surface.
|
PictPositions.Stretch
|
10
|
If the picture size is different from the button size the picture is stretched in order to fit exactly the button surface.
|
PictPositions.SizeToContent
|
11
|
Resizes the current control in order to have the same dimensions of the picture. This setting is available only when the Style property is set to STYLE_PICTURE.
After the resize has been performed, the PicturePosition property value is set automatically to PICTPOS_LT.
|