SlideShow.FillFromFolder

SlideShow.FillFromFolder ( 

string  ObjectName,

string  FolderPath,

boolean EmptyFirst = false,

boolean Recurse = false )

Example 1

SlideShow.FillFromFolder("SlideShow1", "AutoPlay\\Docs\\CustomSlides", true, false);

Fills the "SlideShow1" slideshow object with all slides found in the "CustomSlides" folder. Before adding the slides, the object is emptied.

Example 2

SlideShow.FillFromFolder("UserShow", Shell.GetFolder(SHF_MYDOCUMENTS), false, true);

Adds all slides recursively found in the user's 'My Documents' folder to the slideshow object named "UserShow."

See also:  Related Actions