Gets or sets the transparency of the slide title background, from 0 to 100.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

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

Field Value

An integer that represents the transparency.

Remarks

The Transparency property enables you to set the slide title's background and outline to be transparent. The valid values range 0 and 100 where 0 is completely opaque and 100 is completely transparent. The Transparency property has no effect on the transparency of the slide title's text.

Examples

The code below demonstrates how you can set the presentation's slide title before capturing a new slide and adding it to the presentation.
CopyC#
// Create a new SlideTitle and set properties for its appearance
SlideTitle slideTitle = new SlideTitle()
{
  Text = "My Slide Title",
  Font = new System.Drawing.Font("Arial", 50, FontStyle.Bold),
  TextColor = Color.Yellow,
  BackColor = Color.Black,
  OutlineColor = Color.Orange,
  Outline = 4,
  Transparency = 40,
  DisplayPosition = DisplayPosition.TopRight
};

// Set the Presentation's SlideTitle to be the new slide title
ESRI.ArcGISExplorer.Application.Application.Presentation.SlideTitle = slideTitle;

// Capture a new slide and add it to the Presentation's slide collection
Slide newSlide = ESRI.ArcGISExplorer.Application.Application.Presentation.CaptureSlide();
ESRI.ArcGISExplorer.Application.Application.Presentation.Slides.Add(newSlide);
CopyVB.NET
' Create a new SlideTitle and set properties for its appearance
Dim slideTitle As New SlideTitle
With slideTitle
  .Text = "My Slide Title"
  .Font = New System.Drawing.Font("Arial", 50, FontStyle.Bold)
  .TextColor = Color.Yellow
  .BackColor = Color.Black
  .OutlineColor = Color.Orange
  .Outline = 4
  .Transparency = 40
  .DisplayPosition = DisplayPosition.TopRight
End With

' Set the Presentation's SlideTitle to be the new slide title
ESRI.ArcGISExplorer.Application.Application.Presentation.SlideTitle = slideTitle

' Capture a new slide and add it to the Presentation's slide collection
Dim newSlide As Slide = ESRI.ArcGISExplorer.Application.Application.Presentation.CaptureSlide()
ESRI.ArcGISExplorer.Application.Application.Presentation.Slides.Add(newSlide)

See Also