Returns a new Slide with properties equal to the current Slide.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
Return Value
A slide that has the same viewpoint, visible mapitems, popup item, basemap and title as the cloned slide.Remarks
You can use this method to create a new instance of the Slide class based on an existing slide. This feature is useful
if you want to add the same slide to a presentation more than once.
Examples
The code below shows how you can create a new slide by cloning the Presentation's currently selected slide, modify its title text
and add it to the presentation.
CopyC#
// Create a new slide by cloning the presentation's CurrentSlide Slide newSlide = ESRI.ArcGISExplorer.Application.Application.Presentation.CurrentSlide.Clone(); // Update the new slide's slide title text and add it to the presentation's slide collection newSlide.Title.Text += " - Copy"; ESRI.ArcGISExplorer.Application.Application.Presentation.Slides.Add(newSlide);
CopyVB.NET
' Create a new slide by cloning the presentation's CurrentSlide Dim newSlide As Slide = ESRI.ArcGISExplorer.Application.Application.Presentation.CurrentSlide.Clone() ' Update the new slide's slide title text and add it to the presentation's slide collection newSlide.Title.Text += " -Copy" ESRI.ArcGISExplorer.Application.Application.Presentation.Slides.Add(newSlide)