Power point slide un-editable

Hi There,

Is there a way to create un-editable slide in power point. Please send me details or code sample.

Thanks,
Farooq

@farooq.ahmad,

I have observed your requirements and like to share that you can use shape locks to protect the shapes. I suggest you to please visit this documentation article for your convenience.

public static void AddWatermarkShape()
{
    Presentation pres = new Presentation();
    IMasterSlide master = pres.Masters[0];
    IAutoShape ashp = master.Shapes.AddAutoShape(ShapeType.Rectangle, 10, 10, 300, 300);
    ashp.AddTextFrame("This is watermakr");
    ashp.TextFrame.Paragraphs[0].Portions[0].PortionFormat.FontHeight = 25;
    master.Shapes.Reorder(0, ashp);
    ashp.ShapeLock.SelectLocked = true;
    ashp.ShapeLock.SizeLocked = true;
    ashp.ShapeLock.TextLocked = true;
    ashp.ShapeLock.PositionLocked = true;
    ashp.ShapeLock.GroupingLocked = true;

    pres.Save("C:\\Aspose Data\\watermark.pptx", Aspose.Slides.Export.SaveFormat.Pptx);
}