you can use these commands in code:
Code:
SetWallpaper("filename.ext") //it will use last used mode for styling
SetWallPaper2("filename.ext",StyleNumber) //you should set a style by using a number
i don't know style numbers correctly, but i have tested these and they works:
example:
Code:
SetWallpaper("image1.jpg") //sets wallpaper and uses previous StyleMode
SetWallPaper2("image1.jpg",0) //sets wallpaper and makes it Center
SetWallPaper2("image1.jpg",1) //sets wallpaper and makes it Tile
SetWallPaper2("image1.jpg",2) //sets wallpaper and makes it Stretch