desktopwallpaper SetDesktopWallpaper method
Return to Introduction  Previous page  Next page
Applies to
acDesktopWallpaper component.  

procedure SetDesktopWallpaper(WallpaperFile: String;  
                              Stretch, Tile: Boolean);  

Use SetDesktopWallpaper method to imedaitely specify the picture file which will be used as wallpaper (WallpaperFile parameter) and its appearance on desktop using Stretch and Tile parameters.  
tip Alternatively you can set the desktop wallpaper pointing the Wallpaper property to another .BMP file and specifying appearance in Stretch and Tile properties.  

See also
Wallpaper, Stretch, Tile and AutoFormat properties;  
RemoveWallpaper method.