We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Is there any way to make the slide notes read only?

Is there a way to “protect” slide notes in a manner similar to protecting shapes?

Hello Dear,

I regret to share that feature for protecting slide notes is currently unavailable in Aspose.Slides for .NET. An issue with ID 22402 has been created in our issue tracking system as a new feature request. This thread has also been linked with the issue, so that you may be automatically notified, once the issue is resolved.

We are sorry for your inconvenience,

Any update, yet? Thanks!

Hi,


I have verified from our issue tracking system and like to share that if you ought to view the slide in Notes Page View, the following code snippet will protect the slide notes.

PresentationEx pres = new PresentationEx(@“C:\Users\Mudassir\Downloads\CheckNotes.pptx”);

SlideEx slide = pres.Slides[0];
if (slide.NotesSlide != null)
{
foreach (ShapeEx shape in slide.NotesSlide.Shapes)
{
AutoShapeEx ashape = shape as AutoShapeEx;
if (ashape != null)
{
ashape.ShapeLock.TextLocked = true;
ashape.ShapeLock.PositionLocked = true;
ashape.ShapeLock.SizeLocked = true;
ashape.ShapeLock.RotateLocked = true;
ashape.ShapeLock.SelectLocked = true;
ashape.ShapeLock.ShapeTypeLocked = true;
}
}
}

pres.Save(@“C:\Users\Mudassir\Downloads\CheckNotes2.pptx”,
Aspose.Slides.Export.SaveFormat.Pptx);

However, if you ought to view the slide in normal slide view, the above code will not work in this regard. I have requested our development team to share if the notes can be protected in normal slide view. I will share the further information with you as soon as it will be available.

Many Thanks,