Copyright © 2003-2005 MultiMedia Soft 
Return to index  
 
PicturePosition property 
 
Type
[Visual Basic] 
Public Property PicturePosition As Ctl3d.PictPositions 
 
[C#] 
public Ctl3d.PictPositions PicturePosition {get; set;} 
 
[C++] 
public: __property Ctl3d.PictPositions get_PicturePosition(); 
public: __property void set_PicturePosition(Ctl3d.PictPositions);
 
 
Remarks
Changes the picture or animation position over the control. 
Supported values are the following: 
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.
 
In order to perform changes to Pictures and Animations settings at Design-time take a look to the How to display bitmaps and animations section.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2003-2005 MultiMedia Soft 
Return to index