SlideShow.FillFromFolder

SlideShow.FillFromFolder (

string ObjectName,

string FolderPath,

boolean EmptyFirst = false,

boolean Recurse = false )

Description

Fills a slideshow object's slides from a folder.

Parameters

ObjectName

(string) The name of the slideshow object.

FolderPath

(string) The folder containing images to add to the slideshow object.

Note: The following image formats are looked for when adding slides in the slideshow object: JPG, BMP, TIFF, GIF, PhotoCD, Photoshop, WBMP, PNG, PCX, PAX, TLA, WMF, EMF, APM and TGA.

EmptyFirst

(boolean) Whether the slideshow object should be emptied first:

VALUE

DESCRIPTION

true

Empty the slideshow object before adding slides.

false

Don't empty the slideshow object. (Default)

Recurse

(boolean) Whether to recurse into subfolders when adding slides:

VALUE

DESCRIPTION

true

Recurse into subfolders when adding slides.

false

Don't recurse. Just add from the folder's root. (Default)

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions