Mnemonic constant
|
Value
|
Meaning
|
PICTPOS_CM
|
0 (default)
|
Center (Horizontal) Middle (Vertical)
|
PICTPOS_LT
|
1
|
Left (Horizontal) Top (Vertical)
|
PICTPOS_CT
|
2
|
Center (Horizontal) Top (Vertical)
|
PICTPOS_RT
|
3
|
Right (Horizontal) Top (Vertical)
|
PICTPOS_LM
|
4
|
Left (Horizontal) Middle (Vertical)
|
PICTPOS_RM
|
5
|
Right (Horizontal) Middle (Vertical)
|
PICTPOS_LB
|
6
|
Left (Horizontal) Bottom (Vertical)
|
PICTPOS_CB
|
7
|
Center (Horizontal) Bottom (Vertical)
|
PICTPOS_RB
|
8
|
Right (Horizontal) Bottom (Vertical)
|
PICTPOS_TILE
|
9
|
Tiles the picture to fit the button.
|
PICTPOS_STRETCH
|
10
|
Stretches the picture to fit the button.
|
PICTPOS_SIZETOCONTENT
|
11
|
Resizes the control to fit the button. 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.
|