menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IMasterSlide - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IMasterSlide

    Represents the master slide in a presentation.

    Inherited Members
    IBaseSlide.Background
    IBaseSlide.Charts
    IBaseSlide.Find(Regex)
    IBaseSlide.Find(String, Boolean, Boolean)
    IBaseSlide.FindAll(Regex)
    IBaseSlide.FindAll(String, Boolean, Boolean)
    IBaseSlide.GroupShapes
    IBaseSlide.HeadersFooters
    IBaseSlide.Name
    IBaseSlide.Pictures
    IBaseSlide.Shapes
    IBaseSlide.SlideSize
    IBaseSlide.SlideTransition
    IBaseSlide.Tables
    IBaseSlide.Timeline
    Namespace: Syncfusion.Presentation
    Assembly: Syncfusion.Presentation.Portable.dll
    Syntax
    public interface IMasterSlide : IBaseSlide

    Properties

    LayoutSlides

    Gets the ILayoutSlides collection of a IMasterSlide instance. Read-only.

    Declaration
    ILayoutSlides LayoutSlides { get; }
    Property Value
    Type
    ILayoutSlides
    Examples
     //Create a new presentation.
     IPresentation presentation = Presentation.Create();
     //Add slide to the presentation
     ISlide slide = presentation.Slides.Add(SlideLayoutType.Title);
     //Gets the first master slide.
     IMasterSlide masterSlide = presentation.Masters[0];
     //Retrieve the collection of layout Slide
     ILayoutSlides layoutSlides = masterSlide.LayoutSlides;
     int count = layoutSlides.Count;
     //Save the presentation
     presentation.Save("Sample.pptx");
     //Close the presentation
     presentation.Close();
     'Create a new presentation.
     Dim presentation As Presentation = Presentation.Create()
     'Add the slide into the presentation
     Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Title)
     'Gets the first master slide.
     Dim masterSlide As IMasterSlide = presentation.Masters(0)
     'Retrieve the collection of layout Slide
     Dim layoutSlides As ILayoutSlides = masterSlide.LayoutSlides
     'Gets the layout slides count.
     Dim count As Integer = layoutSlides.Count
     'Saves the Presentation.
     presentation.Save("Sample.pptx")
     'Close the presentation.
     presentation.Close()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved