- Home
- Forum
- ASP.NET Web Forms
- Master Slides
Master Slides
Is there any way I can change Master Slides with Syncfusion Presentation? Can't find that in the docs.
Thanks!
- Mauricio
We have logged a feature report for changing the Master Slide programmatically using Presentation library. A support incident to track the status of this feature has been created under your account. Please log on to our support website to check for further updates
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let me know if you have any question.
Regards,
Devisri
As I can't change masters using SyncFusion, I found a Microsoft guide on how to change masters slides in a presentation. Here's the link: https://msdn.microsoft.com/en-us/library/cc850846.aspx
The problem I'm having now is that SyncFusion can't open a file that had master slides changed using OpenXML directly, even though I can open it normally (no errors) using PowerPoint.
I'm proving samples in the attached Zip file:
- base_master_slides: Has master slides that I want to apply to a new presentation
- presentation_before: Presentation that will have its masters replaced
- presentation_after: After running MS code to replace masters, this is the output
SyncFusion can't open file "presentation_after.pptx" with "Presentation.Open(filename)", but I can manipulate it normally using Powerpoint.
Tech info from my side in case you can't run MS code sample:
Exception message:
"Object reference not set to an instance of an object".
Stack Trace:
at Syncfusion.Presentation.FileDataHolder.ParseMasterRelation(MasterSlide masterSlide, String masterPath)
at Syncfusion.Presentation.FileDataHolder.ParseMasterSlides()
at Syncfusion.Presentation.FileDataHolder.Read()
at Syncfusion.Presentation.Presentation.ParseDocument(Stream fileStream)
at Syncfusion.Presentation.Presentation.Open(String fileName)
at ReplaceMasters.MasterSource.CreateNewMasterSource(String outputFilePath, String thumbsFolder) in C:\code\ReplaceMasters\MasterSource.cs:line 109
at ReplaceMasters.Form1.btnCreateNewMasterSource_Click(Object sender, EventArgs e) in C:\code\ReplaceMasters\Form1.cs:line 211
Could you please help me on this? I really need to open presentations that had masters replaced with SyncFusion.
Thanks!
-Mauricio
Attachment: syncfusion_cant_open_58bf4e57.zip
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
- 3 Replies
- 2 Participants
-
MR Mauricio Roberto Cruz
- Apr 18, 2016 09:51 PM UTC
- Apr 26, 2016 07:06 AM UTC