Gets or sets the Basemap associated with this slide.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Basemap Basemap { get; set; }
Visual Basic (Declaration)
Public Property Basemap As Basemap

Field Value

A Basemap representing the basemap associated with the slide.

Remarks

When you create a slide using the CaptureSlide()()() method on Presentation, the slide's Basemap is the basemap of the ActiveMapDisplay. You can use this property to get a reference to the basemap, or replace it with another basemap. When the slide is set as the CurrentSlide, the basemap is switched to be the slide's basemap, if the presentation options AllowBasemapChange is true.

Examples

The code below shows how you can set the basemap for all slides in a presentation to be the current basemap.
CopyC#
// Get the map's current Basemap
Basemap basemap = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.Map.Basemap;

// Update each slide in the presentation to have the current Basemap
foreach (Slide slide in ESRI.ArcGISExplorer.Application.Application.Presentation.Slides)
  slide.Basemap = basemap;
CopyVB.NET
' Get the map's current Basemap
Dim basemap As Basemap = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.Map.Basemap

' Update each slide in the presentation to have the current Basemap
For Each slide As Slide In ESRI.ArcGISExplorer.Application.Application.Presentation.Slides
  slide.Basemap = basemap
Next

See Also