desktopwallpaper AutoFormat property
Return to Introduction  Previous page  Next page
Applies to
acDesktopWallpaper component.  

property AutoFormat: Boolean;  

The AutoFormat property allows to automatically specify the best appearance for picture used as wallpaper.  
Set AutoFormat to True, and acDesktopWallpaper will automatically choose the best appearance when you specify the picture using Wallpaper property. All pictures with size less than a quarter of screen will be "tiled", big images will be automatically "stretched".  
tip Note: when AutoFormat = True, values of Tile and Stretch properties will be ignored.  
Set AutoFormat to False if you wish to specify appearance programatically using Stretch and Tile properties.  

See also
Wallpaper, Stretch and Tile properties.