Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
Image( [X][,Y][,W][,H][,Image$][,Align$][,VAlign$] )

 Parameters
X - Starting X location of the control
Y - Starting Y location of the control
W - Starting width of the control
H - Starting height of the control
Image$ - The filename of the image
Align$ - The horizontal alignment of the image
VAlign$ - The vertical alignment of the image

 Description
This is basically like LoadImage() except it docks the image to the form and allows you to align it in a number of ways. If you set width and height to 0 the image is not resized and uses its own width and height.

 Example
Graphics 640, 480, 16, 2
SetBuffer BackBuffer( )

Include "blitzui.bb"
Initialise( )

mywindow = Window( 20, 20, 200, 150, "My Window", 0, True )
myimage = Image( 5, 5, 0, 0, "myimage.bmp" )

Repeat
    UpdateGUI( )
    DrawMouse( )

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End