SlideShow.AddSlide

number SlideShow.AddSlide ( 

string ObjectName,

string FilePath,

number Position = -1 )

Example 1

nPos = SlideShow.AddSlide("SlideShow1", "AutoPlay\\Images\\new_image.png", -1);

Adds the slide image "new_image.png" to the slideshow object called "SlideShow1" at the end of the list, and stores its insertion position in the variable "nPos."

Example 2

nPos = SlideShow.AddSlide("SlideShow1", "AutoPlay\\Images\\new_image2.png", 5);

Adds the slide image "new_image2.png" to the slideshow object called "SlideShow1" at position 5, and stores its insertion position in the variable "nPos."

See also:  Related Actions