How to set default slide master view for presentation (C#)

Hi Team,
We are using licensed version of Aspose slides for Java.
We want to access Slide Master option under View tab.
When ever we save pptx file we want to always enable view Slide master so that when ever we open it we should see all master slides and layouts instead of actual slides.

@akshayaspose,

I have tried understanding your requirements. Do you mean that when you open the Aspose.Slides generated saved presentation, the default view should be slide master view.

Yes Mudassir
Is their any provision to achieve it?

@akshayaspose,

Yes, you may consider setting presentation view property before saving presentation. You can consider using following sample code.

    using (Presentation presentation = new Presentation())
    {
         presentation.ViewProperties.LastView=Aspose.Slides.ViewType.SlideMasterView;

        presentation.Save(dataDir + "PresView.pptx", Aspose.Slides.Export.SaveFormat. Pptx);
   
    }